Repository navigation
Add Cloudflare CI/CD scripts and update Wrangler configuration - #99
Conversation
Add `cf-deploy` and `cf-preview` npm scripts wrapping Wrangler. Bump the Worker compatibility_date to 2026-10-01 and enable observability issues in wrangler.jsonc.
Replace ci.yml with a ci-cd.yml workflow that splits validation (format check, Astro checks) from the build, validates the Worker with a wrangler dry run, and uploads the build artifact on push. Non-main branch pushes now deploy a Cloudflare preview with a PR comment, and pushes to main deploy to production, both via the shared FOSSBilling/.workflows reusable workflow. Add cloudflare-events.yml to sync the preview PR comment on workflow completion and PR events. Also add concurrency groups that cancel in-progress runs except on main.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
All reported issues were addressed across 5 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Include the Cloudflare Wrangler CLI for project development and deployment workflows.
Update CI validation and deployment to use the root `wrangler.json` instead of the config under `dist/server`.
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Deploying Preview to CloudflareNo successful preview deployment recorded yetBuild and deployment attempts are listed below. Preview Deployments by commit
|
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Update validation and deployment workflow config paths to use `wrangler.jsonc`.
There was a problem hiding this comment.
0 issues found across 4 files (changes from recent commits).
Requires human review: Adds Cloudflare CI/CD pipeline that deploys the docs site to Cloudflare Workers (production on main pushes), syncs PR preview comments, and updates Wrangler configuration. The deployment and operational changes require human sign-off.
Turn on auto-fix | Re-trigger cubic
Pin preview and production deployments to the updated reusable workflow revision.
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Requires human review: Adds Cloudflare CI/CD with production deploys on main pushes, preview deploys/PR comment syncing, and Wrangler config/dependency updates. The deployment and operational tradeoffs, plus the dismissed previews-block claim, need human sign-off.
Turn on auto-fix | Re-trigger cubic
Summary by cubic
Replaces the CI-only workflow with a CI/CD pipeline that validates, builds, and deploys the docs site to Cloudflare Workers, plus syncs preview PR comments.
--dry-rundeploy check, and uploads the built artifact on push.maindeploy to production using the rootwrangler.jsonc.cf-deployandcf-previewnpm scripts backed by the newwranglerdev dependency, bumps the Workercompatibility_dateto 2026-10-01, and enables observability issue reporting.cloudflare-events.ymlworkflow to keep the preview PR comment in sync with workflow completions and PR events.main.Written for commit beab345. Summary will update on new commits.