File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1010 - uses : actions/checkout@v4
1111 with :
1212 fetch-depth : 0
13- - uses : actions/setup-python@v2
13+ - uses : actions/setup-python@v5
1414 with :
1515 python-version : 3.12
1616 - name : Setup Python
Original file line number Diff line number Diff line change 1717 with :
1818 fetch-depth : 0
1919 - name : Install Python
20- uses : actions/setup-python@v2
20+ uses : actions/setup-python@v5
2121 with :
2222 python-version : 3.12
2323
3737 run : echo ${{ github.event.number }} > ./docs/pr-number.txt
3838
3939 - name : Upload artifact
40- uses : actions/upload-artifact@v2
40+ uses : actions/upload-artifact@v4
4141 if : success()
4242 with :
4343 name : site
Original file line number Diff line number Diff line change 2020
2121 steps :
2222 - name : Download Artifact
23- uses : dawidd6/action-download-artifact@v2
23+ uses : dawidd6/action-download-artifact@v4
2424 with :
2525 workflow : ${{ github.event.workflow_run.workflow_id }}
2626 name : site
3636 echo "<html><body><div>Redirecting... <a href=\"/docs\">Click Here</a></div><script>window.location = \"/docs\";</script></body></html>" > ./site/index.html
3737
3838 - name : Setup NPM
39- uses : actions/setup-node@v1
39+ uses : actions/setup-node@v4
4040 with :
41- node-version : 8
41+ node-version : 20
4242
4343 - name : Install Surge
4444 run : npm install -g surge
4949 surge ./site/ https://chunky-dev-docs-pr-${{ steps.pr.outputs.id }}.surge.sh --token ${{ secrets.SURGE_TOKEN }}
5050
5151 - name : Update Comment - Success
52- uses : actions-cool/maintain-one-comment@v1.2.1
52+ uses : actions-cool/maintain-one-comment@v3
5353 with :
5454 token : ${{ secrets.GITHUB_TOKEN }}
5555 body : |
6565
6666 - name : Update Comment - Fail
6767 if : ${{ failure() }}
68- uses : actions-cool/maintain-one-comment@v1.2.1
68+ uses : actions-cool/maintain-one-comment@v3
6969 with :
7070 token : ${{ secrets.GITHUB_TOKEN }}
7171 body : |
Original file line number Diff line number Diff line change 1515
1616 steps :
1717 - name : Setup NPM
18- uses : actions/setup-node@v1
18+ uses : actions/setup-node@v4
1919 with :
20- node-version : 8
20+ node-version : 20
2121
2222 - name : Install Surge
2323 run : npm install -g surge
2727 surge teardown https://chunky-dev-docs-pr-${{ github.event.pull_request.number }}.surge.sh --token ${{ secrets.SURGE_TOKEN }} || true
2828
2929 - name : Update Comment
30- uses : actions-cool/maintain-one-comment@v1.2.1
30+ uses : actions-cool/maintain-one-comment@v3
3131 with :
3232 token : ${{ secrets.GITHUB_TOKEN }}
3333 body : |
You can’t perform that action at this time.
0 commit comments