railway-deploy
由 dbanys 提供
DevOps & Cloud简介
This skill should be used when the user wants to push code to Railway, says "railway up", "deploy", "deploy.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- Railway CLI installed and authenticated
- Railway project linked via `railway link` (or project ID provided)
安装
clawhub install dbanys/railway-deploy运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。