railway deployment
List and manage deployments for your services.
Usage
Subcommands
| Subcommand | Aliases | Description |
|---|---|---|
list | ls | List deployments with IDs, statuses, and timestamps |
up | Upload and deploy (same as railway up) | |
redeploy | Redeploy 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
| Flag | Description |
|---|---|
-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) |
--json | Output in JSON format |
Deployment statuses
| Status | Description |
|---|---|
SUCCESS | Deployment completed successfully |
FAILED | Deployment failed |
CRASHED | Deployment crashed after starting |
BUILDING | Deployment is being built |
DEPLOYING | Deployment is being deployed |
INITIALIZING | Deployment is initializing |
WAITING | Deployment is waiting |
QUEUED | Deployment is queued |
REMOVED | Deployment was removed |
REMOVING | Deployment is being removed |