Skip to content

Commit a532b9c

Browse files
committed
Add versioning
1 parent 5c6cdc0 commit a532b9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nextjs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
- name: Upload versioned site artifact
155155
uses: actions/upload-artifact@v4
156156
with:
157-
name: docs-${{ steps.get-patch.outputs.patch }}
157+
name: docs-${{ github.run_id }}-${{ steps.get-patch.outputs.patch }}
158158
path: ./${{ steps.get-patch.outputs.patch }}
159159

160160
# Aggregate built sites
@@ -165,7 +165,7 @@ jobs:
165165
- name: Download all site artifacts
166166
uses: actions/download-artifact@v4
167167
with:
168-
pattern: docs-*
168+
pattern: docs-${{ github.run_id }}-*
169169

170170
- name: List all aggregated sites
171171
run: ls -l

0 commit comments

Comments
 (0)