15 Commits

Author SHA1 Message Date
Classic298 1fb467d42a Revert "Deploy the search Worker only after the site it reads from is live"
This reverts commit 249c8acd9f.
2026-08-08 21:10:54 +02:00
Classic298 249c8acd9f Deploy the search Worker only after the site it reads from is live
The Worker answers /api/search against search-corpus.json, which the GitHub Pages build produces. Cloudflare was deploying it on its own git trigger, in parallel with that build, so on any given push the Worker could go live pointing at the previous corpus until Pages caught up.

It now deploys from a job in the Pages workflow gated on the deploy step rather than the build step, since the corpus has to be published and not merely built before the Worker can read it.

This needs two things done outside the repo, both noted in the Worker README: add CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID as repository secrets, and disconnect the Worker from this repository under Settings > Builds in the Cloudflare dashboard. Until that second step is done both deploy paths fire and the ordering buys nothing.
2026-08-08 21:06:31 +02:00
Timothy Jaeryang Baek 53c733c193 refac 2026-08-07 11:51:00 -04:00
Timothy Jaeryang Baek 5c51ae3201 refac 2026-07-02 16:06:24 -05:00
silentoplayz 3e3da9e0a0 chore: format 2025-10-09 12:47:06 -04:00
Matthew Hand 08f5896407 Apply Prettier formatting to gh-pages workflow YAML file for CI compliance 2024-11-05 23:17:16 +00:00
Matthew Hand 13019fc57a docs: fix whitespace 2024-11-05 23:01:22 +00:00
Matthew Hand 306d16515d docs: revert changes to docusaurus and ghpages 2024-11-05 22:59:29 +00:00
mhand f9967cec63 Update gh-pages.yml
fix: BASE_URL and SITE_URL
2024-11-06 07:27:58 +11:00
Timothy J. Baek 68b2a90a77 revert 2024-11-04 20:30:20 -08:00
Timothy J. Baek b99663be00 Create gh-pages.yml 2024-11-04 20:28:07 -08:00
Matthew Hand 2b5fe0d0fe Clean 2024-10-30 08:38:11 +00:00
Sebastian 81f8ecd3b3 Add CI to check PR:s before merging 2024-09-26 02:02:03 +02:00
Sebastian 174a3a674f Use node-version file to set the version once 2024-09-26 02:01:49 +02:00
Timothy J. Baek a41abbb409 feat: gh-pages added 2024-02-19 21:33:28 -08:00