deploy

Automate code deployment to Railway using the railway up workflow.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sidpalas/background-agent --skill deploy-sidpalas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy
Source: https://github.com/sidpalas/background-agent/tree/main/.opencode/skill/deploy
Command: npx skills add https://github.com/sidpalas/background-agent --skill deploy-sidpalas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploying code to Railway from the local directory can be error-prone and repetitive; this skill streamlines the process by wrapping the railway up workflow in a guided, repeatable action.

Core Features & Use Cases

  • Detach deploys to run in the background while returning control to the user.
  • CI deploy streams logs until the build finishes, helping debug failures.
  • Supports deploying a specific service or project, and can handle environment flags for unlinked projects.

Quick Start

Initiate a deployment of the current project to Railway using the railway up command.

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 my local directory?

You can deploy code to Railway by running the railway up workflow, which pushes changes from your local directory to a linked project or allows environment flags for unlinked ones.

What is the difference between detach and CI modes when deploying to Railway?

Detach mode deploys to Railway in the background and returns control to your terminal, while CI mode streams logs until the build finishes to help debug failures.

Can I target a specific Railway service or environment during deployment?

Yes, you can target a specific Railway service, project, or environment using CLI options during the deployment process to ensure code reaches the correct context.

How do I deploy to Railway if my local directory is not linked to a project?

For unlinked contexts, you can deploy to Railway by applying environment and project flags directly in the CLI command to specify the target destination.

Why does my Railway deployment build fail when pushing from the command line?

To debug a failed Railway deployment, run the command in CI mode, which streams build logs until completion, allowing you to identify errors in real-time.