跳到正文
TakoAPI
返回技能列表

railway-deploy

由 dbanys 提供

DevOps & Cloud
898下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Run railway up --ci -m 'Deploy latest changes'

  2. 2

    Stream build logs to the terminal in real time

  3. 3

    Check output for errors or success message

  4. 4

    If build fails, analyze the streamed logs directly

  5. 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 或你在用的任意编程智能体里。

链接