Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

railway-deploy

bởi dbanys

DevOps & Cloud
898Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

This skill should be used when the user wants to push code to Railway, says "railway up", "deploy", "deploy.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: deploy my changes and watch the build

AGENT
  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

ĐẦU RA

Build completes with streamed logs; deploy is live on Railway

Yêu cầu

  • Railway CLI installed and authenticated
  • Railway project linked via `railway link` (or project ID provided)

Cài đặt

clawhub install dbanys/railway-deploy

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết