railway redeploy
Redeploy the most recent deployment of a service without uploading new code.
Usage
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
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