Don't redeploy docs on push to master #316
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since in normal circumstances the master branch should only advance via PRs from dev, there is no need to re-deploy the docs on pushes to master. At best, a deploy from master will be identical to the latest deploy from dev, at worst (if we deploy a hotfix to master without going through dev first) the master deploy will overwrite the latest dev docs with an earlier version and leave the published docs out of date with respect to the latest dev code.
This happened yesterday (2023-03-09) with the merge of #310, which deleted the privacy policy section from the development docs - I've since manually re-run the
documentation.yml
workflow on dev to re-instate the correct version.