File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -3,25 +3,25 @@ name: Deploy Website
3
3
on :
4
4
push :
5
5
branches :
6
- - main
7
- - ' *.*'
6
+ - main
7
+ - ' *.*'
8
8
9
9
jobs :
10
10
deploy :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
14
14
- name : Checkout the website
15
- uses : actions/checkout@v2
15
+ uses : actions/checkout@v3
16
16
with :
17
17
repository : api-platform/website
18
18
ref : main
19
19
20
20
- name : Get yarn cache directory path
21
21
id : yarn-cache-dir-path
22
- run : echo "::set-output name= dir:: $(yarn cache dir)"
22
+ run : echo "dir=" $(yarn cache dir)"" >> $GITHUB_OUTPUT
23
23
24
- - uses : actions/cache@v2
24
+ - uses : actions/cache@v3
25
25
id : yarn-cache
26
26
with :
27
27
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
38
38
- name : Build website
39
39
env :
40
40
GITHUB_KEY : ${{ secrets.CONTRIBUTORS_GITHUB_TOKEN }}
41
+ NODE_OPTIONS : --openssl-legacy-provider
41
42
run : yarn gatsby build
42
43
43
44
- name : Deploy
Original file line number Diff line number Diff line change 11
11
12
12
steps :
13
13
- name : Checkout
14
- uses : actions/checkout@v2
14
+ uses : actions/checkout@v3
15
15
with :
16
16
fetch-depth : 0
17
17
24
24
DEFAULT_BRANCH : main
25
25
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
26
27
- - uses : actions/cache@v2
27
+ - uses : actions/cache@v3
28
28
with :
29
29
path : ~/.cache/pip
30
30
key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
You can’t perform that action at this time.
0 commit comments