ci: deploy the site to Cloudflare as static assets #27
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
6b6t/6b6t-commons!27
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/cloudflare-static-site"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
GitHub Pages can't publish from Forgejo. The workflow now deploys
build/pagesto a Cloudflare Worker that serves static assets only, with no Worker script, at https://commons.6b6t.org. The build, checks and tests are unchanged. The deploy step runs outside PRs with aCLOUDFLARE_API_TOKENrepo secret, scoped to Workers in the 6b6t account plus Worker routes and DNS on6b6t.org.The site is already live on Cloudflare: I deployed this config by hand and removed the GitHub Pages DNS record. This PR makes future pushes deploy it.
The Maven repository and Javadoc move from
6b6t.github.io/6b6t-commonstohttps://commons.6b6t.org, keeping the same paths (/maven,/javadoc). The index page and README use the new URL. The GitHub Pages copy stays online, so existing builds keep resolving, and no other 6b6t repo uses the old URL.This also fixes the required
Publish / buildcheck, which failed on every PR becauseupload-pages-artifactdoesn't exist on Forgejo. After this merges, #26 can be rebased and merged.🤖 Generated with Claude Code
Automatic approval. Required checks still have to pass before merging.