Repository navigation
Serve the installer and an Astro site from bercail.dev - #31
Merged
Merged
Conversation
The bercail-site Worker serves the Astro build and runs first for /install.sh, proxying master like the legacy host. The setup-domain Worker now only keeps setup.simoncrypta.dev for older installs. npm run deploy builds and deploys the site; CI moves to Node 26 (LTS), which Astro 7 needs.
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.
Moves the curl installer to https://bercail.dev/install.sh and puts a hello-world Astro site on bercail.dev, so the real website can replace that page later without moving the installer again.
site/: thebercail-siteWorker serves the Astro build.run_worker_first: ["/install.sh"]sends that one path to the Worker, which proxies the repo's master the same way the legacy host does. Other repo paths 404 on the site.workers/setup-domainnow only serves setup.simoncrypta.dev. Older installs have that host baked in, so it stays. Both Workers sharesrc/github.js.install.sh,lib/common.sh),manifest.jsonand tests point at bercail.dev.npm run deployalso builds and deploys the site. CI moves to Node 26 (current LTS, frommise latest node@lts), since Astro 7 needs Node 22.23.4 or later.Already live:
bercail-sitewas deployed by hand from this branch, and https://bercail.dev/install.sh is byte-identical to the legacy host's copy. Merging runs the first CI deploy with the newCLOUDFLARE_API_TOKEN.Tests: all 25
tests/*_test.shpass;./install.sh --helpandbin/bercail dry-runexit 0; both Workers checked underwrangler dev.Closes bercail-808.