Controlling Github Autodeploys
Services that are linked to a GitHub repo automatically deploy when new commits are detected in the connected branch.
To update the branch that triggers automatic deployments, go to your Service Settings and choose the appropriate trigger branch.
To disable automatic deployment, simply choose
Disable Trigger from your Service Settings.
To ensure Railway waits for your GitHub Actions to run successfully before triggering a new deployment, you should enable Check Suites.
You must have a Github workflow defined in your repository.
The Github workflow must contain a directive to run on push:
If your workflow satisfies the requirements above, you will see the
Check Suites flag in service settings.
Toggle this on to ensure Railway waits for your GitHub Actions to run successfully before triggering a new deployment.
When enabled, deployments will be moved to a
WAITING state while your workflows are running.
If any workflow fails, the deployments will be
When all workflows are successful, deployments will proceed as usual.
Edit this file on GitHub