File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 - run : npm run build
2222 - run : node scripts/build-preview-fixtures.mjs
2323 - run : echo "${{ github.event.pull_request.number }}" > build/.pr-number
24- - uses : actions/upload-artifact@v4
24+ - uses : actions/upload-artifact@v7
2525 with :
2626 name : pr-preview-build
2727 path : build/
Original file line number Diff line number Diff line change 2323 git add -A
2424 git diff --cached --quiet || git commit -m "preview: cleanup PR #${{ github.event.pull_request.number }}"
2525 git push
26- - uses : marocchino/sticky-pull-request-comment@v2
26+ - uses : marocchino/sticky-pull-request-comment@v3
2727 with :
2828 header : pr-preview
2929 message : " Preview for this PR has been removed."
Original file line number Diff line number Diff line change 1818 name : pr-preview
1919 url : ${{ steps.url.outputs.url }}
2020 steps :
21- - uses : actions/download-artifact@v4
21+ - uses : actions/download-artifact@v8
2222 with :
2323 name : pr-preview-build
2424 path : build
4242 commit_message : " preview: deploy PR #${{ steps.pr.outputs.number }}"
4343 - id : url
4444 run : echo "url=https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/pr-preview/pr-${{ steps.pr.outputs.number }}/" >> "$GITHUB_OUTPUT"
45- - uses : marocchino/sticky-pull-request-comment@v2
45+ - uses : marocchino/sticky-pull-request-comment@v3
4646 with :
4747 number : ${{ steps.pr.outputs.number }}
4848 header : pr-preview
You can’t perform that action at this time.
0 commit comments