RailwayDocs

railway redeploy

Redeploy the most recent deployment of a service without uploading new code.

Usage

Options

FlagDescription
-s, --service <SERVICE>Service to redeploy (defaults to linked service)
-y, --yesSkip confirmation dialog
--jsonOutput in JSON format

Examples

Redeploy current service

Redeploy specific service

Skip confirmation

Use cases

Redeploying is useful for:

  • Applying environment variable changes
  • Restarting a service that crashed
  • Triggering a fresh deployment with the same code