faolain/Railway PR Deploy Action

Creates an environment with provided environment variables and deploys them to Railway.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
RAILWAY_API_TOKENRailway API Tokenyes
PROJECT_IDThe id of the project to create environments on. Can be found on Settings -> General pageyes
SRC_ENVIRONMENT_NAMEThe name of the environment to base the PRs off of. yes
SRC_ENVIRONMENT_IDThe id of the environment to base the PRs off of. If this is provided, SRC_ENVIRONMENT_NAME will be ignored. no
DEST_ENV_NAMEThe name of the deployed PR environment. Usually a combination of pr-<PR_NUMBER>-<SHORT_COMMIT_HASH> passed inside of workflowyes
ENV_VARSThe environment variables to set on the PR environment. Should be a JSON object of key value pairs. 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 environment.no
PROVIDERThe provider to use for the PR environment. Can be python, see https://nixpacks.com/docs/guides/configuring-builds for more info.yes
branch_nameThe name of the branchyes
DEPLOYMENT_MAX_TIMEOUTThe maximum amount of time to wait for the deployment to finish. Defaults to 10 minutes.no
IGNORE_SERVICE_REDEPLOYA list of service names to ignore when redeploying the PR environment. This is useful for services that don't need to be redeployed on every PR deployment.no
namedescription
service_domainThe domain of the deployed PR environment