File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969 --baseURL "${{ steps.pages.outputs.base_url }}/"
7070
7171 - name : Upload artifact
72- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
72+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 .0.1
7373 with :
7474 path : public
7575 name : website
8383 mkdir pull_request
8484 echo ${{ github.event.pull_request.number }} > ./pull_request/number
8585 - name : Upload pull request data
86- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
86+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 .0.1
8787 with :
8888 path : .
8989 name : pull-request-data
Original file line number Diff line number Diff line change 3535 if : github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
3636 steps :
3737 - name : Download pull request artifact
38- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 .0.0
38+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 .0.0
3939 with :
4040 script : |
4141 const artifacts = await github.rest.actions.listWorkflowRunArtifacts({
8080 npm --prefix code exec -- wrangler pages deploy public --project-name "$CLOUDFLARE_PROJECT_NAME" --branch pr-${{ steps.data.outputs.PR_NUMBER }} | tee out.txt
8181 grep 'Deployment complete! Take a peek over at ' out.txt | sed -e 's/.*over at /PREVIEW_URL=/' >> $GITHUB_OUTPUT
8282 - name : Add comment
83- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 .0.0
83+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 .0.0
8484 with :
8585 github-token : ${{ secrets.GITHUB_TOKEN }}
8686 script : |
Original file line number Diff line number Diff line change @@ -54,14 +54,14 @@ jobs:
5454 needs : build
5555 steps :
5656 - name : Download website artifact
57- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 .0.0
57+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 .0.1
5858 with :
5959 name : website
6060 path : ' .'
6161 - name : Upload artifact
62- uses : actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4 .0.0
62+ uses : actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5 .0.0
6363 with :
6464 path : ' .'
6565 - name : Deploy to GitHub Pages
6666 id : deployment
67- uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4 .0.5
67+ uses : actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5 .0.0
Original file line number Diff line number Diff line change 6464 # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6565 # format to the repository Actions tab.
6666 - name : " Upload artifact"
67- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
67+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 .0.1
6868 with :
6969 name : SARIF file
7070 path : results.sarif
You can’t perform that action at this time.
0 commit comments