Skip to content

ci: switch Railway deploy to auto-deploy with Check Suites#8

Merged
doublesilver merged 10 commits into
mainfrom
chore/railway-auto-deploy
Feb 27, 2026
Merged

ci: switch Railway deploy to auto-deploy with Check Suites#8
doublesilver merged 10 commits into
mainfrom
chore/railway-auto-deploy

Conversation

@doublesilver
Copy link
Copy Markdown
Owner

Summary

  • Remove Railway deploy hook / CLI steps from GitHub Actions workflow
  • Railway will auto-deploy via its built-in GitHub integration when CI passes
  • Delete 3 unnecessary GitHub secrets: RAILWAY_TOKEN, RAILWAY_SERVICE_NAME, RAILWAY_DEV_ENVIRONMENT
  • No Railway deploy hook URLs needed (feature doesn't exist in Railway)

How it works now

push → GitHub Actions CI (checks job) → pass ✓ → Railway detects → auto-deploy
                                       → fail ✗ → Railway skips deployment

Manual setup required (Railway dashboard)

  1. Development environment: Connect dev branch, enable "Check Suites"
  2. Production environment: Connect main branch, enable "Check Suites"

See Codex handoff prompt in PR comments for verification steps.

Test plan

  • Railway dashboard: dev env connected to dev branch
  • Railway dashboard: prod env connected to main branch
  • Railway dashboard: "Check Suites" enabled for both envs
  • Push to dev → CI passes → Railway auto-deploys dev
  • Push to main → CI passes → Railway auto-deploys prod
  • Verify no RAILWAY_* secrets remain in GitHub

🤖 Generated with Claude Code

doublesilver and others added 8 commits February 27, 2026 18:54
* docs: record deployment IDs for GitHub Actions

* ci: run checks on pull_request to satisfy branch protection

* docs: note Vercel rootDirectory app setting
* Fix Vercel project linkage in CI

* docs: align README with subway-board style template
Railway does not support deploy hook URLs (feature not implemented).
Remove curl-based Railway deployment steps and rely on Railway's
built-in GitHub auto-deploy with "Check Suites" (Wait for CI).

Flow: push → GitHub Actions CI passes → Railway detects → auto-deploy.
No RAILWAY_TOKEN or deploy hook secrets needed for Railway.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
knowledge-copilot Ready Ready Preview, Comment Feb 27, 2026 11:11am

Include verification checklist, follow-up tasks, and quick commands
for continuing the Railway auto-deploy setup in Codex.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Restructure as step-by-step Codex CLI prompt with:
- Sequential verification → merge → sync → cleanup → docs → e2e
- Copy-paste ready gh/git commands
- Manual Railway dashboard checklist clearly separated

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@railway-app railway-app Bot temporarily deployed to knowledge-copilot / development February 27, 2026 11:36 Inactive
@doublesilver doublesilver merged commit 6408ce6 into main Feb 27, 2026
8 of 9 checks passed
@doublesilver doublesilver deleted the chore/railway-auto-deploy branch February 27, 2026 11:38
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