ayungavis/Railway Preview Deploy Action

Railway preview deployment GitHub Actions workflow for every pull request opened in your repository like a Vercel

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
railway_api_tokenThe Railway API tokenyes
project_idThe Railway project ID, you can find it in the Railway dashboard > Settings > General pageyes
environment_nameThe environment name to be base of the preview deploymentyes
environment_idThe environment ID to be base of the preview deployment. If it's provided, the `environment_name` will be ignoredno
preview_environment_nameThe new environment name to be created for the preview deployment. E.g. `pr-<PR_NUMBER>-<SHORT_COMMIT_HASH>`yes
environment_variablesThe environment variables to be set in the preview deployment. Should be a JSON object of key value paris. E.g. {"DATABASE_URL": "test_url", "A": "abc", "D": "efg"}no
api_service_nameThe name of the API service to use for the PR environment. This is used to identify the domain of the deployed PR environmentno
ignore_service_redeployList of service name to ignore when redeploying the PR environment. This is useful for services that don't need to be redeployed on every PRno
branch_nameThe branch name of the PR to be used for the preview deploymentyes
reuse_preview_environmentWhether to reuse the existing preview environment if it's already creatednotrue
cleanupWhether to cleanup the preview environment after the PR is closednofalse
namedescription
service_domainThe domain of the service that was deployed