Trigger the Docs workflow on version tags (v*) and add a deploy job that publishes the built Sphinx HTML to the gh-pages branch using peaceiris/actions-gh-pages. PRs and branch pushes still build (and now upload an artifact) but do not deploy.
1.5 KiB
1.5 KiB