Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci/docs: Run on tagged releases only (#1009)
This changes the ci/docs workflow to only run on tagged releases by default instead of every push to main. This also updates the existing workflow_dispatch trigger to expect an input specifying the ref to publish docs from. With that, you should be able to specify a branch or tag from the Actions UI. Example of how this looks from [one of my projects](https://github.com/abhinav/restack/blob/89e6749811ee0cccc4cc8884757ca8d291d73272/.github/workflows/release.yml): ![image](https://user-images.githubusercontent.com/41730/210201985-a5557627-c6e6-4c4c-a773-7fea3a105dce.png) Going this route has the disadvantage that all documentation fixes and updates after a release will not be available on the website until another release or a manual publish which can accidentally also publish documentation for unreleased features. Refs #1008
- Loading branch information