Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: '[PR Preview] Upload dist folder'
if: ${{github.event_name == 'pull_request' && matrix.node-version.isLatest}}
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: dist
path: |
Expand All @@ -52,7 +52,7 @@ jobs:

- name: '[PR Preview] Upload PR metadata'
if: ${{github.event_name == 'pull_request' && matrix.node-version.isLatest}}
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: pr_metadata
path: ./pr_metadata.ini
4 changes: 2 additions & 2 deletions .github/workflows/deploy-pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- run: npm clean-install

- name: Download all artifacts (dist folder and pr_metadata)
uses: dawidd6/action-download-artifact@v19
uses: dawidd6/action-download-artifact@v21
with:
github_token: ${{secrets.GITHUB_TOKEN}}
run_id: ${{github.event.workflow_run.id}}
Expand All @@ -42,7 +42,7 @@ jobs:
run: ./node_modules/.bin/netlify deploy --no-build --dir=. --alias=pr-${{steps.pr_metadata.outputs.pr}}

- name: Run afterDeploy script
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
const { afterDeploy } = await import('${{github.workspace}}/scripts/pr_preview.js');
Expand Down
Loading