Skip to content

ci: add auto-deploy to Railway after CI passes#28

Closed
SimonOyaneder wants to merge 1 commit into
mainfrom
feat/railway-autodeploy
Closed

ci: add auto-deploy to Railway after CI passes#28
SimonOyaneder wants to merge 1 commit into
mainfrom
feat/railway-autodeploy

Conversation

@SimonOyaneder

Copy link
Copy Markdown
Owner

Summary

  • Adds a deploy job to the CI workflow that runs railway up on pushes to main, only after lint and test pass
  • Removes healthcheck path from railway.json (Probot doesn't respond fast enough for Railway's HTTP health checks)

Setup required

Add a RAILWAY_TOKEN secret to the GitHub repo:

  1. Go to Railway dashboard → Account Settings → Tokens → Create Token
  2. Go to GitHub repo → Settings → Secrets → Actions → New repository secret
  3. Name: RAILWAY_TOKEN, Value: the token from step 1

Test plan

  • Verify RAILWAY_TOKEN is set in GitHub repo secrets
  • Merge to main and confirm the deploy job runs after lint + test
  • Confirm Railway deployment succeeds

🤖 Generated with Claude Code

Adds a deploy job to the CI workflow that runs `railway up` after lint
and test succeed on pushes to main. Also removes the healthcheck path
from railway.json since Probot's landing page doesn't respond fast
enough for Railway's HTTP health checks.

Requires RAILWAY_TOKEN secret in GitHub repo settings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@SimonOyaneder SimonOyaneder deleted the feat/railway-autodeploy branch February 26, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant