Skip to content

Remove the GitHub Actions deploy job - #22

Merged
rjb32 merged 1 commit into
mainfrom
remove-actions-deploy
Oct 26, 2026
Merged

rjb32 merged 1 commit into
mainfrom
remove-actions-deploy

Conversation

@rjb32

@rjb32 rjb32 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Why

Every merge to main shows a failed Deploy to Railway check (#17, #19, #20), even though the site deploys fine.

  • Railway already deploys main. Its GitHub integration (railway-app[bot]) builds the Dockerfile and deploys every push. For Update the docs for TuringDB 3.0.2 #20 it deployed 4b73823 successfully at 15:52 UTC, and the live site serves the new docs.
  • The Actions job was a second deploy of the same commit with railway up. It needs a RAILWAY_TOKEN secret that the repository never had, at repo or environment level. So it stopped at its first step every time.

What

  • Workflow: .github/workflows/deploy.yml becomes build.yml, named Build.
    • It keeps the build check on pull requests and pushes to main: npm run gen, tsc --noEmit, the anchor test, npm run build and the page-count check.
    • The check is still called Build, so any required-check setting keeps working.
  • Removed: the deploy job, and the index.html artifact upload that only fed its smoke test.
  • Concurrency: a newer push now cancels an in-flight check on the same branch, since there is no deploy left to protect.
  • README: the Hosting and CI sections say that Railway's GitHub integration deploys main, and drop the RAILWAY_TOKEN instructions.

After merging

  • Old failures stay. The failed production deployment entries from earlier runs remain in the repository's deployment history. New merges won't add more.
  • Unused environments. The production and staging GitHub environments are no longer used by any workflow and can be deleted in the repository settings.

Railway's GitHub integration already builds and deploys every push to
main. The Actions job deployed the same commit a second time, needed a
RAILWAY_TOKEN secret the repository never had, and so failed on every
merge (#17, #19, #20) while the site itself deployed fine.

The workflow keeps the build check on pull requests and pushes, and is
renamed from deploy.yml to build.yml; its check is still called Build.
The README now says that Railway deploys main.
@rjb32
rjb32 merged commit 7cb5493 into main Oct 26, 2026
1 check passed
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