Cloudflare Workers configuration#1232
Merged
Merged
Conversation
👷 Deploy request for acmcsuf pending review.Visit the deploys page to approve it
|
Collaborator
Author
|
Issues with Cloudflare deployment found so far:
|
Collaborator
|
Shout out to @TheJolman for spearheading this initiative :)
I believe
Might have something to do with required env vars population. |
df08aaf to
e6826ae
Compare
bf40d3e to
d6acb22
Compare
dianellasy
approved these changes
Jan 11, 2026
Collaborator
dianellasy
left a comment
There was a problem hiding this comment.
LGTM! Thank you for your hard work Josh!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See live: https://acmcsuf-com.acm-csuf9.workers.dev/
This PR adds a support for deploying to Cloudflare from the CLI using
wrangler.To use:
Run
npm run deployStrategy:
We probably don't want to merge this here while it's still on Ethan's account, as changing svelte's
adapter-autotoadapter-cloudflaremight mess things up on Netlify. However, I do have a plan (should have zero downtime):wranglerto deploy to the shared acmCSUF cloudflare account (done ✔)a. Fix any bugs that crop up on new deployment
maingets new changes.netlify.tomland any other Netlify artifactsNote that the following build time vars need to be set of Cloudflare's dash for the project to build in CI:
@EthanThatOneKid
No longer a Draft / Ready for merge
This PR is now ready for merge.
deployandpreviewscripts allow a dev with sufficient permissions to deploy live environments to our production URL or to a previewworkers.devURLnpm run devnow useswrangler devinstead ofvite dev. This ensures that your local dev environment matches the prod environment..gitignorefileWhat's Next?
We need to install the Cloudflare git integration on this repo to maintain the nice experience of new deployments going live on merge to main.
I'll create issues for the things in the below comment that never got resolved. These need to be fixed before the semester starts.