Skip to content

Add Cloudflare Pages deployment workflow#7

Merged
Aaronontheweb merged 2 commits intodevfrom
feature/cloudflare-deploy
May 5, 2026
Merged

Add Cloudflare Pages deployment workflow#7
Aaronontheweb merged 2 commits intodevfrom
feature/cloudflare-deploy

Conversation

@Aaronontheweb
Copy link
Copy Markdown
Contributor

Summary

  • Adds a GitHub Actions workflow that deploys to Cloudflare Pages on push to dev
  • Uses cloudflare/wrangler-action@v3 with wrangler pages deploy

Setup Required

Before merging, add these repo secrets in Settings > Secrets and variables > Actions:

  • CLOUDFLARE_API_TOKEN — Cloudflare API token with Account / Cloudflare Pages / Edit permission
  • CLOUDFLARE_ACCOUNT_ID — from the Cloudflare dashboard sidebar

The first deploy will auto-create the netclaw-website Pages project. Custom domain (netclaw.dev) can be added in the Pages project settings afterward.

Test plan

  • Repo secrets are configured
  • Merge triggers deploy workflow
  • Site is live at netclaw-website.pages.dev
  • Add custom domain netclaw.dev

Deploys to Cloudflare Pages on push to dev branch using
wrangler-action. Requires CLOUDFLARE_API_TOKEN and
CLOUDFLARE_ACCOUNT_ID as repository secrets.
Enables deployment tracking in the GitHub repo's
Environments tab with a link to netclaw.dev.
@Aaronontheweb Aaronontheweb merged commit eba9cfa into dev May 5, 2026
2 checks 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