-
Notifications
You must be signed in to change notification settings - Fork 1
fix(workflow): enable Railway deployment from staging branch #232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Add staging branch to workflow triggers - Update environment detection to handle staging and staging/* branches - Fix environment selection for all three jobs (deploy, restore-db, create-admin)
WalkthroughChanges the GitHub Actions workflow Possibly related PRs
Pre-merge checks✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-05-06T16:24:52.905ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 Vulnerabilities of
|
| digest | sha256:606275d9d73781c3b65b9cf0e61889695c57e05e704849c68ef4ae2e17332b62 |
| vulnerabilities | |
| platform | linux/amd64 |
| size | 291 MB |
| packages | 985 |
📦 Base Image node:23-alpine
| also known as |
|
| digest | sha256:b9d38d589853406ff0d4364f21969840c3e0397087643aef8eede40edbb6c7cd |
| vulnerabilities |
Description
| ||||||||||||||||||||||||
Description
Description
| ||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||
Description
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/deploy_to_railway.yml
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: killev
Repo: speedandfunction/website PR: 64
File: .github/workflows/deploy_to_railway.yml:38-38
Timestamp: 2025-05-06T16:24:52.905Z
Learning: For the Railway deployment workflow, pushes to `releases/**` branches intentionally resolve to the environment 'None', which is the expected behavior for this project.
📚 Learning: 2025-05-06T16:24:52.905Z
Learnt from: killev
Repo: speedandfunction/website PR: 64
File: .github/workflows/deploy_to_railway.yml:38-38
Timestamp: 2025-05-06T16:24:52.905Z
Learning: For the Railway deployment workflow, pushes to `releases/**` branches intentionally resolve to the environment 'None', which is the expected behavior for this project.
Applied to files:
.github/workflows/deploy_to_railway.yml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
- GitHub Check: e2e-tests
- GitHub Check: lint
- GitHub Check: security-scan
- GitHub Check: unit-tests
This PR enables Railway deployments from the staging branch by updating the GitHub Actions workflow. It adds 'staging' to push triggers and changes staging environment detection to an explicit equality check (github.ref_name == 'staging'), removing the staging/* pattern. The environment selection was corrected across deploy-to-railway, restore-db, and create-admin jobs for proper staging behavior.