Skip to content

Deploy the docs to Cloudflare on every push to main - #3

Merged
devaryakjha merged 1 commit into
mainfrom
claude/project-thread-c0fur6
Oct 26, 2026
Merged

devaryakjha merged 1 commit into
mainfrom
claude/project-thread-c0fur6

Conversation

@devaryakjha

Copy link
Copy Markdown
Contributor

Requested by Arya · project thread

Before

docs.chek.page went live only when someone ran bun run deploy on their own machine after cf auth login.

After

Every push to main deploys the docs through a new Deploy workflow. It can also be run from the Actions tab, for example to redeploy without a push.

How

  • .github/workflows/deploy.yml runs lint, format check and astro check like CI, then bun run deploy. cf signs in with the CLOUDFLARE_API_TOKEN repository secret; the account comes from cloudflare.config.ts.
  • A started deploy always finishes, and only the newest waiting push runs next.
  • README and AGENTS.md describe the automatic deploy.

Checks

  • bun run format:check passes; the workflow change touches no pages
  • Pages describe what the linked release does, not what's planned

Needs the CLOUDFLARE_API_TOKEN secret before merging. A real deploy hasn't run yet.


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmfESTppALkhTsT2GxR7DZ
@devaryakjha devaryakjha self-assigned this Oct 25, 2026
@devaryakjha
devaryakjha merged commit 587a3c2 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.

2 participants