Skip to content

Commit 0b84fb6

Browse files
authored
Do not clean other files (#6)
Other files are coming from PR previews
1 parent 36597bb commit 0b84fb6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
token: ${{ secrets.GITHUB_TOKEN }}
5454
folder: "${{ env.SITE_DIR }}"
5555
commit-message: "[CI] Publish Documentation for ${{ github.sha }}"
56+
clean: false
5657

5758
# Based on : https://daiyi.co/blog/pr-previews-for-github-pages/
5859
deploy_preview:
@@ -95,6 +96,7 @@ jobs:
9596
folder: "${{ env.SITE_DIR }}"
9697
target-folder: "${{ env.PR_PATH }}"
9798
commit-message: "[CI] Publish Preview for PR #${{ github.event.number }}"
99+
clean: false
98100

99101
- name: Update comment
100102
uses: hasura/comment-progress@v2.3.0

.github/workflows/pr-close.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
folder: "${{ env.SITE_DIR }}"
2727
target-folder: "${{ env.PR_PATH }}"
2828
commit-message: "[CI] Delete Preview for PR #${{ github.event.number }}"
29+
clean: false
2930

3031
- name: Comment on PR
3132
uses: hasura/comment-progress@v2.3.0

0 commit comments

Comments
 (0)