abhisin98/Railway Deploy

Deploy a Railway service to a specified environment, with optional preview environment support for pull requests.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Aug 18, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: abhisin98/avivox-action-railway-deploy@24bf7c4146d790f992b1bcbb582e201c7bee15a9 # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
api-tokenRailway API token for authentication.yes
project-idRailway project ID where the service is located.yes
environment-idRailway environment ID to deploy to (used when preview=false).yes
service-idRailway service ID to deploy.yes
previewWhether to deploy to a preview environment (true/false). If true, pr-number is required.false
pr-numberPull request number for preview deployments. Required if preview=true.
github-tokenGitHub token or GitHub App token for API operations (PR comments). If empty, default token is used.${{ github.token }}
cleanup-previewWhether to clean up the preview environment after deployment (true/false). If true, the preview environment will be deleted after deployment.false
namedescription
urlThe URL of the deployed service (preview or production). If preview=true, this will be the preview environment URL; otherwise, it will be the production environment URL.