Skip to content

Deploy to Cloudflare workers instead of Cloudflare pages#447

Merged
neilenns merged 3 commits intomainfrom
issue430
Mar 27, 2026
Merged

Deploy to Cloudflare workers instead of Cloudflare pages#447
neilenns merged 3 commits intomainfrom
issue430

Conversation

@neilenns
Copy link
Copy Markdown
Collaborator

@neilenns neilenns commented Mar 27, 2026

Summary by CodeRabbit

  • Chores
    • Updated Go toolchain to version 1.26.1
    • Configured site deployment for Cloudflare Pages hosting

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 27, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 38d00d0d-30d5-4af0-8eeb-f9dd99ca1a8d

📥 Commits

Reviewing files that changed from the base of the PR and between 8ab163a and 648c91c.

📒 Files selected for processing (3)
  • build.sh
  • go.mod
  • wrangler.toml

📝 Walkthrough

Walkthrough

The pull request introduces infrastructure for deploying a Hugo static site to Cloudflare Workers. It adds a build script that installs and configures necessary tools, updates the Go toolchain requirement, and includes Cloudflare Pages deployment configuration.

Changes

Cohort / File(s) Summary
Build Infrastructure
build.sh, wrangler.toml
New Bash build script with strict error handling, tool version pinning (Dart Sass, Go, Hugo, Node.js), cleanup handlers, and Hugo site compilation. Cloudflare Pages configuration specifying build process, asset directory (./public), and compatibility settings.
Dependencies
go.mod
Go toolchain version bumped from 1.26.0 to 1.26.1.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 A script hops into the warren,
Building sites with Sass and Go,
Cloudflare's workers march along,
Where Hugo's magic makes things flow! 🌲✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch issue430

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@neilenns neilenns merged commit e56fe18 into main Mar 27, 2026
2 of 4 checks passed
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying mobiflight-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 648c91c
Status: ✅  Deploy successful!
Preview URL: https://5413b242.mobiflight-docs.pages.dev
Branch Preview URL: https://issue430.mobiflight-docs.pages.dev

View logs

@neilenns neilenns deleted the issue430 branch March 27, 2026 13:12
@coderabbitai coderabbitai bot mentioned this pull request Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant