Closed samtygier-stfc closed 2 months ago
When building docs on a new release branch for the first time, the step to clean the existing contents fails, because there is none.
Add an || true, so that it does not matter if the git rm command finds nothing to remove
|| true
git rm
Also add github.event_name == 'push' to publish doc rules, so they don't trigger based on the branch name of a PR
github.event_name == 'push'
After merging, the docs should build and publish
coverage: 73.144%. remained the same when pulling 80862c08382b1ae5cf9e85e30feefb99a7ed7ecb on 2249-release-doc-action-fix into aa92a4dc5a8a63ff448e94d94a424fba3057f8a4 on release-2.8.0.
Issue
When building docs on a new release branch for the first time, the step to clean the existing contents fails, because there is none.
Description
Add an
|| true
, so that it does not matter if thegit rm
command finds nothing to removeAlso add
github.event_name == 'push'
to publish doc rules, so they don't trigger based on the branch name of a PRTesting
After merging, the docs should build and publish