Skip to content

Record the Cloudflare deploy path in the README - #16

Merged
slate-rehm merged 1 commit into
masterfrom
sr-deploy-docs
Jul 31, 2026
Merged

slate-rehm merged 1 commit into
masterfrom
sr-deploy-docs

Conversation

@slate-rehm

@slate-rehm slate-rehm commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Documents how this repo ships now: Cloudflare builds and deploys the Worker
from the connected repo, a push to master deploys, and nothing in GitHub
Actions deploys.

Calls out the one setting that fails silently — VITE_SITE_URL has to be a
build variable in the Cloudflare project. Vite inlines it at build time, so
a value set only in GitHub Actions never reaches the deployed bundle and the
build still passes.

Merging this also serves as the deploy trigger for the newly set
VITE_SITE_URL, so the deployed bundle picks it up.

Also confirms the main-ruleset fix: the ruleset now targets refs/heads/master
instead of ~ALL, so feature branches take follow-up commits again. This branch
was pushed twice to verify it.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Greptile Summary

Documents the repository’s Cloudflare deployment process.

  • Clarifies that pushes to master deploy through Cloudflare’s Git integration rather than GitHub Actions.
  • Explains that VITE_SITE_URL must be configured as a Cloudflare build variable because Vite inlines it during the build.

Confidence Score: 5/5

The documentation-only change appears safe to merge.

The documented deployment path and build-variable requirements match the repository’s workflows and Vite environment-variable usage, with no actionable defects identified.

Important Files Changed

Filename Overview
README.md Adds deployment guidance consistent with the repository’s CI workflow, Cloudflare configuration, and build-time use of VITE_SITE_URL.

Reviews (1): Last reviewed commit: "docs: record the Cloudflare deploy path ..." | Re-trigger Greptile

Cloudflare ships this Worker from the connected repo, so a push to master
deploys. Nothing in GitHub Actions deploys, and the repo holds no Cloudflare
API token.

Calls out the one setting that fails silently: VITE_SITE_URL must be a build
variable in the Cloudflare project. Vite inlines it at build time, so a value
set only in GitHub Actions never reaches the deployed bundle, and the build
still passes.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 31, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
error-wolf 1dccd96 Jul 31 2026, 03:04 AM

@slate-rehm
slate-rehm merged commit 594bbf1 into master Jul 31, 2026
4 checks passed
@slate-rehm
slate-rehm deleted the sr-deploy-docs branch July 31, 2026 03:05
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