File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,13 @@ concurrency:
21
21
jobs :
22
22
build :
23
23
runs-on : ubuntu-latest
24
+
25
+ permissions :
26
+ contents : write
27
+ issues : write
28
+ pull-requests : write
29
+ statuses : write
30
+
24
31
steps :
25
32
- uses : actions/checkout@v4
26
33
with :
34
41
run : just build
35
42
36
43
- name : Deploy preview to Netlify
37
- uses : nwtgck/actions-netlify@v2
44
+ uses : nwtgck/actions-netlify@v3
38
45
if : github.event_name == 'pull_request'
39
46
with :
40
47
publish-dir : ./site
Original file line number Diff line number Diff line change @@ -19,13 +19,18 @@ concurrency:
19
19
jobs :
20
20
publish :
21
21
runs-on : ubuntu-latest
22
+
23
+ permissions :
24
+ contents : write
25
+ statuses : write
26
+
22
27
steps :
23
28
- uses : actions/checkout@v4
24
29
with :
25
30
fetch-depth : 0
26
31
27
32
- name : Deploy to Netlify
28
- uses : nwtgck/actions-netlify@v2
33
+ uses : nwtgck/actions-netlify@v3
29
34
with :
30
35
publish-dir : ./
31
36
production-deploy : true
You can’t perform that action at this time.
0 commit comments