Skip to content

Publish the wiki to Cloudflare Pages from the workflow pages - #214

Merged
tamnd merged 1 commit into
mainfrom
pages-cloudflare
Nov 2, 2026
Merged

tamnd merged 1 commit into
mainfrom
pages-cloudflare

Conversation

@tamnd

@tamnd tamnd commented Nov 2, 2026

Copy link
Copy Markdown
Owner

The wiki at https://math2.tamnd.com is at commit 685abbf of 31 October, with 3466 nodes. The build server that runs scripts/deploy-cloudflare.sh stopped after that commit. Main has 7806 nodes now.

This PR adds the job cloudflare to the workflow pages. The job builds the wiki with the URL https://math2.tamnd.com and the flag -cloudflare, as the script does, and it checks the limits of Cloudflare Pages (19500 files, 24 MB for each file). Then it publishes the site with wrangler to the project math2. The job needs the secrets CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID. When they are not set, the job builds the site, gives a warning and does not publish it. So the job is safe to merge before the secrets are set.

A local build of main with the same command gives 1345 files and 575 MB, with no file over 24 MB.

@tamnd tamnd added the area: resources The catalogue of works: books, courses, papers (corpus resources RS) label Nov 2, 2026
@tamnd
tamnd enabled auto-merge (squash) November 2, 2026 09:11
@tamnd
tamnd merged commit 114dec5 into main Nov 2, 2026
9 of 10 checks passed
@tamnd
tamnd deleted the pages-cloudflare branch November 2, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: resources The catalogue of works: books, courses, papers (corpus resources RS)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant