railway redeploy
Redeploy the most recent deployment of a service without uploading new code.
Usage
railway redeploy [OPTIONS]Options
| Flag | Description |
|---|---|
-s, --service <SERVICE> | Service to redeploy (defaults to linked service) |
-y, --yes | Skip confirmation dialog |
--json | Output in JSON format |
Examples
Redeploy current service
railway redeployRedeploy specific service
railway redeploy --service backendSkip confirmation
railway redeploy --yesUse cases
Redeploying is useful for:
- Applying environment variable changes
- Restarting a service that crashed
- Triggering a fresh deployment with the same code