Skip to content

Deploy the site that CI built and tested - #151

Merged
thilo-huck merged 1 commit into
masterfrom
ci/deploy-built-site
Nov 25, 2026
Merged

thilo-huck merged 1 commit into
masterfrom
ci/deploy-built-site

Conversation

@wl-estensd

Copy link
Copy Markdown
Contributor

The deploy step used mhausenblas/mkdocs-deploy-gh-pages, a Docker action based on squidfunk/mkdocs-material:9.5.17. It runs mkdocs gh-deploy, which rebuilds the site inside that container with MkDocs 1.5.3 and Material 9.5.17. The repo has no requirements.txt, so the uv lockfile (MkDocs 1.6.1, Material 9.7.0) was ignored: the published site was never the one the checks ran on, and any MkDocs plugin added to pyproject.toml would be missing in the deploy build.

Now the job builds the site once more after the PDFs exist, checks it, and publishes that site/ directory to gh-pages with ghp-import (the tool mkdocs gh-deploy uses internally). Nothing is rebuilt at deploy time. The PDFs are still published under /pdf/ and the custom domain is kept.

The deploy step used mhausenblas/mkdocs-deploy-gh-pages, a Docker action
based on squidfunk/mkdocs-material:9.5.17. It runs `mkdocs gh-deploy`,
which rebuilds the site inside that container with MkDocs 1.5.3 and
Material 9.5.17. The repo has no requirements.txt, so the uv lockfile
(MkDocs 1.6.1, Material 9.7.0) was ignored: the published site was never
the one the checks ran on, and any MkDocs plugin added to pyproject.toml
would be missing in the deploy build.

Now the job builds the site once more after the PDFs exist, checks it,
and publishes that site/ directory to gh-pages with ghp-import (the tool
`mkdocs gh-deploy` uses internally). Nothing is rebuilt at deploy time.
The PDFs are still published under /pdf/ and the custom domain is kept.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@thilo-huck
thilo-huck merged commit 1766283 into master Nov 25, 2026
1 check passed
@thilo-huck
thilo-huck deleted the ci/deploy-built-site branch November 25, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants