Skip to content

Deploy the site from CI - #3

Merged
silviot merged 1 commit into
mainfrom
ci/site-deploy
Sep 28, 2026
Merged

silviot merged 1 commit into
mainfrom
ci/site-deploy

Conversation

@delasous

Copy link
Copy Markdown
Member

Merges to main now deploy format.gocassini.com automatically. Until now, production was deployed by hand with wrangler pages deploy.

What changes

  • .github/workflows/site.yml builds the site on every PR and on every push to main. The build also checks links and anchors in the spec, so it runs on every change, not only site changes.
  • On a push to main it also deploys site/build to the cassini-format Pages project.
  • The deploy section of site/README.md now covers the workflow. Manual deploys still work.

Before merging

  • Add the repo secret CLOUDFLARE_API_TOKEN: a Cloudflare API token with Cloudflare Pages: Edit on the Code Myriad account.
  • CLOUDFLARE_ACCOUNT_ID is already set.
  • Merging this PR is itself a push to main, so it is the first real deploy.

🤖 Generated with Claude Code

Production was deployed by hand with wrangler after each merge. The
workflow builds on every pull request (the build is the spec's link and
anchor checker) and deploys to the cassini-format Pages project on every
push to main. Needs CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID.
@silviot
silviot merged commit 31d6630 into main Sep 28, 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.

2 participants