GitHub recently announced that the method that is described in ansible-community/github-docs-build wiki on Getting started with GitHub Pages · ansible-community/github-docs-build Wiki · GitHub no longer works.
If you are using the workflows (usually you will have .github/workflows/docs-*.yml
for that in your repository) to publish the docs to GitHub pages, you can switch to the new publishing system as follows:
-
Go to the repo’s settings, the GitHub Pages tab, and change “Build and deployment”'s “Source” from “Deploy from a branch” to “GitHub Actions”.
New value:
-
(THIS STEP HAS BEEN UPDATED!) Create a commit similar to ansible-collections/community.sops@03d53d08942161491df294ad68bf275abacc5363 in the
main
branch (and backport it to every activestable-x
branch that contains thedocs-pr.yml
anddocs-push.yml
workflows as well!).
That’s it
Note that the old way will stop working on June 30th, so please don’t forget about this!