Skip to content

Comments

Add Cloudflare Pages deploy via GitHub Actions#21

Merged
neuromechanist merged 1 commit intomainfrom
infra/cloudflare-ci-deploy
Feb 18, 2026
Merged

Add Cloudflare Pages deploy via GitHub Actions#21
neuromechanist merged 1 commit intomainfrom
infra/cloudflare-ci-deploy

Conversation

@neuromechanist
Copy link
Member

Summary

  • Add .github/workflows/deploy.yml that renders Quarto and deploys to Cloudflare Pages
  • Production deploy on push to main, preview deploys on PRs (with URL comment)
  • Fix stale repo name in datasets.qmd after rename

Setup required

  1. Create Cloudflare Pages project: npx wrangler pages project create eegmanysteps --production-branch main
  2. Add GitHub secrets:
    • CLOUDFLARE_ACCOUNT_ID: from Cloudflare dashboard
    • CLOUDFLARE_API_TOKEN: create at My Profile > API Tokens with Cloudflare Pages: Edit permission

Test plan

  • Secrets configured in GitHub repo settings
  • Workflow runs successfully on main
  • Preview URL posted on PR comments

Closes #6

Deploy to Cloudflare Pages on push to main (production) and on
PRs (preview with URL comment). Installs Quarto, renders to _site,
then deploys via wrangler.

Requires CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID secrets.

Also fix repo name reference in datasets.qmd after rename.
@neuromechanist neuromechanist merged commit 2866fef into main Feb 18, 2026
1 of 2 checks passed
@neuromechanist neuromechanist deleted the infra/cloudflare-ci-deploy branch February 18, 2026 16:36
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.

Migrate deployment from GitHub Actions/gh-pages to Cloudflare Pages

1 participant