Skip to content

Commit 2168a2a

Browse files
committed
Use unique Pages artifact names
1 parent aeabc31 commit 2168a2a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ permissions:
1212
pages: write
1313
id-token: write
1414

15+
env:
16+
PAGES_ARTIFACT_NAME: github-pages-${{ github.run_id }}-${{ github.run_attempt }}
17+
1518
concurrency:
1619
group: pages
1720
cancel-in-progress: false
@@ -46,6 +49,7 @@ jobs:
4649
- name: Upload artifact
4750
uses: actions/upload-pages-artifact@v3
4851
with:
52+
name: ${{ env.PAGES_ARTIFACT_NAME }}
4953
path: out
5054

5155
deploy:
@@ -58,3 +62,5 @@ jobs:
5862
- name: Deploy
5963
id: deployment
6064
uses: actions/deploy-pages@v4
65+
with:
66+
artifact_name: ${{ env.PAGES_ARTIFACT_NAME }}

0 commit comments

Comments
 (0)