Skip to content

Commit 7a5bb9e

Browse files
author
Ruslan Farkhutdinov
committed
Storybook Deployment: Replace dawidd6/action-download-artifact with the standart action
1 parent b6547a4 commit 7a5bb9e

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/pr-storybook-deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ jobs:
2626

2727
steps:
2828
- name: Download meta artifact
29-
uses: dawidd6/action-download-artifact@v6
29+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
3030
with:
3131
run_id: ${{ github.event.workflow_run.id }}
3232
name: preview-meta
3333
path: artifacts
34+
github-token: ${{ secrets.GITHUB_TOKEN }}
35+
repository: ${{ github.repository }}
3436

3537
- name: Read meta
3638
id: meta
@@ -65,11 +67,13 @@ jobs:
6567

6668
- name: Download static artifact
6769
if: needs.prepare.outputs.action == 'deploy'
68-
uses: dawidd6/action-download-artifact@v6
70+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
6971
with:
7072
run_id: ${{ github.event.workflow_run.id }}
7173
name: preview-static
7274
path: ${{ env.SOURCE_DIR }}
75+
github-token: ${{ secrets.GITHUB_TOKEN }}
76+
repository: ${{ github.repository }}
7377

7478
- name: Deploy/remove PR preview
7579
uses: rossjrw/pr-preview-action@ffa7509e91a3ec8dfc2e5536c4d5c1acdf7a6de9 # v1.8.1

0 commit comments

Comments
 (0)