Repository navigation
ci: stop deploying the docs to GitHub Pages - #265
Merged
Merged
Conversation
Adds a workflow that builds the site on every branch push and deploys it with wrangler to the Cloudflare Pages project named after the repository. main is the production deployment, other branches get a preview alias. The job skips itself while the Cloudflare secrets are missing. The GitHub Pages workflow stays in place until the switch is confirmed.
The Cloudflare API can fail the create call with code 8000000, which left the project missing and the deploy failing.
Cloudflare Pages projects can't be renamed, so the workflows now use the project name matgui-doc instead of the repository name. The project is created on the next push; the old matgui project can then be deleted.
# Conflicts: # .github/workflows/cleanup-cloudflare-previews.yml
matgui-doc.matdata.eu is now served from the matgui-doc Cloudflare Pages project, so the GitHub Pages workflow is no longer needed.
MathiasVDA
commented
Nov 26, 2026
MathiasVDA
left a comment
Collaborator
Author
There was a problem hiding this comment.
Review: OK to merge once the checks on ad1ab80 are green.
deploy-cloudflare.ymlbuilds the same things the removed workflow did: the app withPUBLIC_PATH=/dev/main/, the Docusaurus site with the docs copied in, and the combineddeploymentfolder. Nothing else in the repository refers todeploy-pages.yml.- The description mentions a README update, but the branch only removed the workflow and the README still said "hosted on GitHub Pages". Pushed ad1ab80 to change that line to Cloudflare Pages (CRLF kept).
Not part of this PR: the user and developer guides still link the chart and explain demos at matdata-eu.github.io; those need updating when the plugin demos leave GitHub Pages. GitHub Pages itself can be switched off in the repository settings after the merge.
The branch carries earlier merged commits and merge commits, so this goes in as a squash.
Generated by Claude Code
This branch was successfully deployed
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.
matgui-doc.matdata.eu is now served from the
matgui-docCloudflare Pages project (custom domain and DNS switched), so this removesdeploy-pages.ymland updates the hosting line in the README. Docs and the /dev/main app build keep deploying throughdeploy-cloudflare.yml.