deploy

Deploy code to Railway using the railway up CLI command.

1|Updated May 10, 2026
One-click install
npx skills add https://github.com/Tgoldi/claude-skills --skill deploy-tgoldi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy
Source: https://github.com/Tgoldi/claude-skills/tree/main/deploy
Command: npx skills add https://github.com/Tgoldi/claude-skills --skill deploy-tgoldi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Deploying code to Railway requires knowing the correct CLI flags, modes, and error handling patterns. This Skill standardizes the railway up workflow so deployments run with proper commit messages, the right mode, and correct follow-up steps. ## Core Features & Use Cases - Detach and CI Deploy Modes: Run detached deploys that return immediately, or CI-mode deploys that stream build logs for debugging failures. - Targeted Deployments: Deploy to specific services, environments, or unlinked projects using --service, --environment, and --project flags. - Structured Error Handling: Diagnose common failures like missing project links, unlinked services, and build errors, with guidance on which companion skills to use next. - Use Case: You finished a feature branch and want to ship it. Ask to deploy, and the Skill runs railway up --detach -m "Add user authentication endpoint", then points you to the deployment skill to check build status. ## Quick Start Deploy the current directory to Railway with a descriptive commit message and check the build status afterward.

Frequently Asked Questions about deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy code to Railway from the command line?

Run railway up from your project directory with a linked Railway project. Always include a commit message with the -m flag, and use --detach to return immediately or --ci to stream build logs until completion.

What is the difference between railway up detach and CI mode?

Detach mode starts the deploy and returns immediately, which suits most deployments. CI mode streams build logs until the build finishes, making it the right choice when debugging failures or watching the build output.

How do I deploy to a specific Railway service or environment?

Use the --service flag to target a service other than the linked one, and --environment for a specific environment. For unlinked projects, pass both --project and --environment together.

Why does railway up fail with no project linked?

The error means the current directory is not linked to a Railway project. Run railway link first to associate the directory, or deploy directly using the --project and --environment flags without linking.

Should I run railway logs after a CI mode deploy?

No. CI mode already streamed the build logs inline, so running railway logs --build afterward is redundant and can stream indefinitely. Use the deployment skill with the --lines flag if you need more context.