Merge pull request #2474 from messense/gh-pages-force-orphan

CI: Add `force_orphan` to `actions-gh-pages`
This commit is contained in:
messense 2022-06-23 18:46:14 +08:00 committed by GitHub
commit bfce3de567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ jobs:
publish_dir: ./target/doc
destination_dir: internal/doc
full_commit_message: "Upload internal documentation"
force_orphan: true
- name: Clear the extra artefacts created earlier
run: rm -rf target
@ -83,6 +84,7 @@ jobs:
publish_dir: ./target/guide/
destination_dir: ${{ steps.prepare_tag.outputs.tag_name }}
full_commit_message: "Upload documentation for ${{ steps.prepare_tag.outputs.tag_name }}"
force_orphan: true
guide-release:
needs: guide-build