site.yml builds and optionally deploys documentation sites.
Generated when site_generator is mkdocs or jekyll.
No site workflow is generated when site_generator is none.
mainpublished events for the MkDocs release jobFor MkDocs:
uses: athackst/ci/.github/workflows/mkdocs_site.yml@main
See mkdocs_site.yml for the reusable workflow
contract.
For Jekyll:
uses: athackst/ci/.github/workflows/jekyll_site.yml@main
See jekyll_site.yml for the reusable workflow
contract.
build-site: contents: readtest-site: contents: readdeploy-site: contents: write, pages: write, id-token: writemain pushes, builds and deploys the configured site.build-site is responsible for building the site artifact and exposing the site metadata used by test-site and deploy-site.test-site runs HTMLProofer against the built artifact and reports link failures without blocking deployment.deploy-site handles the publish step:
PrimerPages/versite via branchdry-run disables the publish step for either deployment mode