a month ago
Hi,
I’m using Railway with two environments: staging and prod.
My goal is:
Auto-deploy to perf on every merge to
mainDeploy to prodonly when a GitHub Release is created (i.e. by tag / release)
This is similar to how some platforms let you deploy by release/tag instead of a branch.
Questions:
Does Railway natively support triggering deployments by GitHub Releases or tags, not just branches?
If not, is the recommended approach to:
disable autodeploy on prod, and
deploy prod via Railway CLI from GitHub Actions on
release.published?
Is there any built-in “promotion” concept between environments (perf → prod) using the same commit SHA?
Thanks!
Pinned Solution
a month ago
I'm not sure if Railway supports triggers via releases or tags.
However, yes, I'd just run CICD pipelines with Github Actions when a release is published.
1 Replies
a month ago
I'm not sure if Railway supports triggers via releases or tags.
However, yes, I'd just run CICD pipelines with Github Actions when a release is published.
Status changed to Solved ray-chen • about 1 month ago