railway-deploy
by dbanys
DevOps & CloudBrief
This skill should be used when the user wants to push code to Railway, says "railway up", "deploy", "deploy.
Description
What This Skill Does
Deploys code from the current directory to Railway using `railway up`. Supports detach mode for fire-and-forget deploys and CI mode for streaming build logs. Can target specific services, environments, or projects without relinking.
CI mode streams build output inline so you can diagnose failures without running separate log commands.
When to Use It
- Deploying a backend API fix to production
- Watching build logs while debugging a failed deploy
- Shipping frontend changes to a staging environment
- Deploying a subdirectory service in a monorepo
- Running a deploy and immediately checking for build errors
Example Workflow
User asks: deploy my changes and watch the build
- 1
Run
railway up --ci -m 'Deploy latest changes' - 2
Stream build logs to the terminal in real time
- 3
Check output for errors or success message
- 4
If build fails, analyze the streamed logs directly
- 5
If build succeeds, optionally run service skill to confirm status
Build completes with streamed logs; deploy is live on Railway
Requirements
- Railway CLI installed and authenticated
- Railway project linked via `railway link` (or project ID provided)
Installation
clawhub install dbanys/railway-deployRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.