Astro + Cloudflare Pages - Deploy
Automate the complete deployment of Astro projects on Cloudflare Pages: configuration, CI/CD with GitHub Actions, edge functions, SSL domains, and SSR error resolution.
- Convert an SSG Astro site to a hybrid SSR site on Cloudflare.
- Automate multi-environment CI/CD pipelines via GitHub Actions.
- Fix common build errors related to nodejs_compat and environment variables.
$9
· or 45 creditsSecure checkout via Stripe
Included in download
- Convert an SSG Astro site to a hybrid SSR site on Cloudflare.
- Fix common build errors related to nodejs_compat and environment variables.
- terminal, file_read, network automation included
- Ready for Claude Code
See it in action
You say
Set up my Astro project to deploy to Cloudflare Pages using SSR mode and GitHub Actions.
Your agent does
I've updated your astro.config.mjs to use the Cloudflare adapter in 'server' mode. I also created a wrangler.toml with nodejs_compat flags and a .github/workflows/deploy.yml file that handles automated builds and deployments on every push. Your SSR routes are now ready for the edge runtime.
Astro + Cloudflare Pages - Deploy
Automate the complete deployment of Astro projects on Cloudflare Pages: configuration, CI/CD with GitHub Actions, edge functions, SSL domains, and SSR error resolution.
$9
· or 45 creditsSecure checkout via Stripe
Included in download
- Convert an SSG Astro site to a hybrid SSR site on Cloudflare.
- Fix common build errors related to nodejs_compat and environment variables.
- terminal, file_read, network automation included
- Ready for Claude Code
- Instant install
See it in action
You say
Set up my Astro project to deploy to Cloudflare Pages using SSR mode and GitHub Actions.
Your agent does
I've updated your astro.config.mjs to use the Cloudflare adapter in 'server' mode. I also created a wrangler.toml with nodejs_compat flags and a .github/workflows/deploy.yml file that handles automated builds and deployments on every push. Your SSR routes are now ready for the edge runtime.
About This Skill
Deploy your Astro project on Cloudflare Pages
A complete deployment guide for Astro 5+ on
Cloudflare Pages, covering everything from
astro add cloudflare to production-ready CI/CD,
Edge Functions, custom domains, and deployment troubleshooting.
Included in this Skill
Main SKILL.mdSSG, SSR and Hybrid decision guide with a complete quick start.
Deployment ChecklistMore than 20 validation steps covering build, deployment and production.
GitHub ActionsReady-to-use CI/CD workflows with automatic deployments and preview environments.
TroubleshootingSolutions for adapter issues, SSR errors, CSP, redirects and common production problems.
Edge FunctionsAuthentication, KV rate limiting, A/B testing and geolocation examples.
Domains & SSLDNS configuration, HTTPS, redirects and recommended security headers.
Deployment ScriptAutomated deployment validation with a complete six-step verification process.
Environment ValidatorNode.js script to verify required environment variables before deployment.
Configuration ExamplesProduction-ready astro.config.mjs and wrangler.toml examples.
Technology Stack
Who is this for?
- Developers deploying Astro applications to Cloudflare Pages.
- Teams migrating from Vercel or Netlify.
- Projects using SSR, authentication or Edge Functions.
Time Saved
- 2–5 hours of Cloudflare documentation.
- 1–3 hours configuring GitHub Actions.
- 30–60 minutes per deployment issue.
- DNS and SSL configuration completed in minutes.
Use Cases
- Convert an SSG Astro site to a hybrid SSR site on Cloudflare.
- Automate multi-environment CI/CD pipelines via GitHub Actions.
- Fix common build errors related to nodejs_compat and environment variables.
- Implement edge middleware for geolocation-based redirects.
Known Limitations
- Requires Cloudflare account and Wrangler CLI. - No support for Cloudflare Workers (advanced mode) legacy configurations. - GitHub Actions require repository secret permissions.
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/astro-cloudflare-pages-deploy -o /tmp/astro-cloudflare-pages-deploy.zip && unzip -o /tmp/astro-cloudflare-pages-deploy.zip -d ~/.claude/skills && rm /tmp/astro-cloudflare-pages-deploy.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Allowed Hosts
Claude Code, Cursor, Windsurf, Aider, Cline