RailwayDocs

railway deployment

List and manage deployments for your services.

Usage

Subcommands

SubcommandAliasesDescription
listlsList deployments with IDs, statuses, and timestamps
upUpload and deploy (same as railway up)
redeployRedeploy latest deployment (same as railway redeploy)

Examples

List deployments

Output:

List more deployments

List deployments for specific service

List deployments in JSON format

Useful for scripting:

Use deployment ID with logs

Options for

FlagDescription
-s, --service <SERVICE>Service to list deployments for (defaults to linked service)
-e, --environment <ENV>Environment to list deployments from (defaults to linked environment)
--limit <N>Maximum number of deployments to show (default: 20, max: 1000)
--jsonOutput in JSON format

Deployment statuses

StatusDescription
SUCCESSDeployment completed successfully
FAILEDDeployment failed
CRASHEDDeployment crashed after starting
BUILDINGDeployment is being built
DEPLOYINGDeployment is being deployed
INITIALIZINGDeployment is initializing
WAITINGDeployment is waiting
QUEUEDDeployment is queued
REMOVEDDeployment was removed
REMOVINGDeployment is being removed