Skip to content

Commit d26838c

Browse files
committed
Fix GHA to not overwrite each other
1 parent e2660ce commit d26838c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/generate_website.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,4 @@ jobs:
129129
github_token: ${{ secrets.GITHUB_TOKEN }}
130130
publish_dir: ./web/dist
131131
destination_dir: ${{ github.event_name == 'pull_request' && 'pr' || '' }}
132+
keep_files: true

.github/workflows/refresh_website.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,5 @@ jobs:
6060
with:
6161
github_token: ${{ secrets.GITHUB_TOKEN }}
6262
publish_dir: ./web/dist
63-
destination_dir: ''
63+
destination_dir: ${{ github.event_name == 'pull_request' && 'pr' || '' }}
64+
keep_files: true

0 commit comments

Comments
 (0)