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 10
10
- uses : actions/checkout@v4
11
11
with :
12
12
fetch-depth : 0
13
- - uses : actions/setup-python@v2
13
+ - uses : actions/setup-python@v5
14
14
with :
15
15
python-version : 3.12
16
16
- name : Setup Python
Original file line number Diff line number Diff line change 17
17
with :
18
18
fetch-depth : 0
19
19
- name : Install Python
20
- uses : actions/setup-python@v2
20
+ uses : actions/setup-python@v5
21
21
with :
22
22
python-version : 3.12
23
23
37
37
run : echo ${{ github.event.number }} > ./docs/pr-number.txt
38
38
39
39
- name : Upload artifact
40
- uses : actions/upload-artifact@v2
40
+ uses : actions/upload-artifact@v4
41
41
if : success()
42
42
with :
43
43
name : site
Original file line number Diff line number Diff line change 20
20
21
21
steps :
22
22
- name : Download Artifact
23
- uses : dawidd6/action-download-artifact@v2
23
+ uses : dawidd6/action-download-artifact@v4
24
24
with :
25
25
workflow : ${{ github.event.workflow_run.workflow_id }}
26
26
name : site
36
36
echo "<html><body><div>Redirecting... <a href=\"/docs\">Click Here</a></div><script>window.location = \"/docs\";</script></body></html>" > ./site/index.html
37
37
38
38
- name : Setup NPM
39
- uses : actions/setup-node@v1
39
+ uses : actions/setup-node@v4
40
40
with :
41
- node-version : 8
41
+ node-version : 20
42
42
43
43
- name : Install Surge
44
44
run : npm install -g surge
49
49
surge ./site/ https://chunky-dev-docs-pr-${{ steps.pr.outputs.id }}.surge.sh --token ${{ secrets.SURGE_TOKEN }}
50
50
51
51
- name : Update Comment - Success
52
- uses : actions-cool/maintain-one-comment@v1.2.1
52
+ uses : actions-cool/maintain-one-comment@v3
53
53
with :
54
54
token : ${{ secrets.GITHUB_TOKEN }}
55
55
body : |
65
65
66
66
- name : Update Comment - Fail
67
67
if : ${{ failure() }}
68
- uses : actions-cool/maintain-one-comment@v1.2.1
68
+ uses : actions-cool/maintain-one-comment@v3
69
69
with :
70
70
token : ${{ secrets.GITHUB_TOKEN }}
71
71
body : |
Original file line number Diff line number Diff line change 15
15
16
16
steps :
17
17
- name : Setup NPM
18
- uses : actions/setup-node@v1
18
+ uses : actions/setup-node@v4
19
19
with :
20
- node-version : 8
20
+ node-version : 20
21
21
22
22
- name : Install Surge
23
23
run : npm install -g surge
27
27
surge teardown https://chunky-dev-docs-pr-${{ github.event.pull_request.number }}.surge.sh --token ${{ secrets.SURGE_TOKEN }} || true
28
28
29
29
- name : Update Comment
30
- uses : actions-cool/maintain-one-comment@v1.2.1
30
+ uses : actions-cool/maintain-one-comment@v3
31
31
with :
32
32
token : ${{ secrets.GITHUB_TOKEN }}
33
33
body : |
You can’t perform that action at this time.
0 commit comments