File tree 2 files changed +16
-8
lines changed
2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 6
6
branches :
7
7
- main
8
8
9
+ concurrency :
10
+ group : deploy-production
11
+ cancel-in-progress : true
12
+
9
13
jobs :
10
14
build :
11
15
if : " github.repository == 'arduino/docs-content'"
@@ -15,10 +19,10 @@ jobs:
15
19
APP_ENV : prod
16
20
17
21
steps :
18
- - uses : actions/checkout@v3
22
+ - uses : actions/checkout@v4
19
23
with :
20
24
fetch-depth : 0
21
- - uses : actions/setup-node@v3
25
+ - uses : actions/setup-node@v4
22
26
with :
23
27
node-version : 18
24
28
cache : " npm"
36
40
find ./content/hardware -type f -name "*-pinout.png" -exec cp {} ./static/resources/pinouts/ \;
37
41
38
42
- name : Gatsby main cache
39
- uses : actions/cache@v3
43
+ uses : actions/cache@v4
40
44
id : gatsby-cache-folder
41
45
with :
42
46
path : .cache
45
49
${{ runner.os }}-cache-gatsby-
46
50
47
51
- name : Gatsby Public Folder
48
- uses : actions/cache@v3
52
+ uses : actions/cache@v4
49
53
id : gatsby-public-folder
50
54
with :
51
55
path : public/
Original file line number Diff line number Diff line change 6
6
branches :
7
7
- ghaction
8
8
9
+ concurrency :
10
+ group : deploy-staging
11
+ cancel-in-progress : true
12
+
9
13
jobs :
10
14
build :
11
15
runs-on : ubuntu-latest
@@ -14,11 +18,11 @@ jobs:
14
18
APP_ENV : staging
15
19
16
20
steps :
17
- - uses : actions/checkout@v3
21
+ - uses : actions/checkout@v4
18
22
with :
19
23
fetch-depth : 0
20
24
- run : git log -1 --pretty=format:%aI content/learn/04.electronics/05.servo-motors/servo-motors.md
21
- - uses : actions/setup-node@v3
25
+ - uses : actions/setup-node@v4
22
26
with :
23
27
node-version : 18
24
28
cache : " npm"
36
40
find ./content/hardware -type f -name "*-pinout.png" -exec cp {} ./static/resources/pinouts/ \;
37
41
38
42
- name : Gatsby main cache
39
- uses : actions/cache@v3
43
+ uses : actions/cache@v4
40
44
id : gatsby-cache-folder
41
45
with :
42
46
path : .cache
45
49
${{ runner.os }}-cache-gatsby-
46
50
47
51
- name : Gatsby Public Folder
48
- uses : actions/cache@v3
52
+ uses : actions/cache@v4
49
53
id : gatsby-public-folder
50
54
with :
51
55
path : public/
You can’t perform that action at this time.
0 commit comments