pretext-cli
pretext-cli copied to clipboard
Document Cloudflare/GitHub Pages deploy by action
I'm also interested in adding support for Cloudflare Pages, where every push to a repository could be built and deployed to a preview URL, with merges to main going to the canonical URL. https://developers.cloudflare.com/pages/configuration/preview-deployments/
Originally posted by @StevenClontz in https://github.com/PreTeXtBook/pretext-cli/issues/725#issuecomment-2170611413
https://developers.cloudflare.com/pages/framework-guides/deploy-anything/
Experimenting at https://github.com/StevenClontz/cloudflare-pretext-test
A basic build was possible, but we'll want to build using our GitHub Action (to have a full devcontainer for full builds). Following https://developers.cloudflare.com/pages/how-to/use-direct-upload-with-continuous-integration/#use-github-actions to try this now.
Demo in production at https://github.com/TeamBasedInquiryLearning/precalculus/pull/341
Implemented at https://github.com/PreTeXtBook/pretext-cli/pull/746 but we need to add documentation so folks know how to set up their GitHub repos to use it.