Skip to content

Commit a5a3b73

Browse files
Copilothortison
andcommitted
fix(actions): migrate preview artifact actions to node24-compatible versions
Co-authored-by: hortison <160366376+hortison@users.noreply.github.com>
1 parent e4e10d2 commit a5a3b73

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/build-and-preview-site.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: bash ./script.sh
2929

3030
- name: Upload files
31-
uses: actions/upload-artifact@master
31+
uses: actions/upload-artifact@v6
3232
with:
3333
name: public-dir
3434
path: ./public-dir.zip

.github/workflows/preview-site.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
uses: actions/checkout@v6
1515

1616
- name: Download Site dir
17-
uses: dawidd6/action-download-artifact@v11
17+
uses: actions/download-artifact@v7
1818
with:
19-
github_token: ${{ secrets.GH_ACCESS_TOKEN }}
20-
workflow: build-and-preview-site.yml
21-
run_id: ${{ github.event.workflow_run.id }}
19+
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
20+
repository: ${{ github.repository }}
21+
run-id: ${{ github.event.workflow_run.id }}
2222
name: public-dir
2323

2424
- name: Unzip Site
@@ -45,4 +45,3 @@ jobs:
4545
token: ${{ secrets.GH_ACCESS_TOKEN }}
4646
deploy_url: "${{ steps.netlify.outputs.deploy-url }}"
4747

48-

0 commit comments

Comments
 (0)