CI: Add `force_orphan` to `actions-gh-pages`

This commit is contained in:
messense 2022-06-23 17:29:18 +08:00
parent ef308ffaad
commit a7a6118974
No known key found for this signature in database
GPG Key ID: BB41A8A2C716CCA9
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