Skip to content

Commit 2287a07

Browse files
committed
2 parents 9365cd1 + 725b29c commit 2287a07

File tree

948 files changed

+27877
-5294
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

948 files changed

+27877
-5294
lines changed

.github/actions/cloudflare-upload/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
upload-dir:
55
description: "The name of the app to build and export"
66
required: true
7-
7+
88
project-name:
99
description: "The name of the project to upload to"
1010
required: true
@@ -66,7 +66,7 @@ runs:
6666
### ${{ inputs.project-name }}
6767
🚀 Preview this PR: ${{ steps.deploy-cloudflare.outputs.url }}
6868
📍 Commit SHA: ${{ github.sha }}
69-
69+
7070
7171
- name: Update PR Preview Comment
7272
if: github.event_name == 'pull_request' && steps.deploy-preview-comment.outputs.comment-id != 0

.github/workflows/cloudflare.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: Cloudflare Pages
22

33
on:
4-
push:
5-
branches: ["main"]
6-
pull_request:
7-
types: [opened, synchronize]
4+
workflow_dispatch:
85

96
jobs:
107
run:
@@ -15,6 +12,8 @@ jobs:
1512

1613
steps:
1714
- uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
1817
- uses: actions/setup-node@v3
1918
with:
2019
node-version: 18

.github/workflows/deploy-prd.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
branches:
77
- main
88

9+
concurrency:
10+
group: deploy-production
11+
cancel-in-progress: true
12+
913
jobs:
1014
build:
1115
if: "github.repository == 'arduino/docs-content'"
@@ -15,8 +19,10 @@ jobs:
1519
APP_ENV: prod
1620

1721
steps:
18-
- uses: actions/checkout@v3
19-
- uses: actions/setup-node@v3
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- uses: actions/setup-node@v4
2026
with:
2127
node-version: 18
2228
cache: "npm"
@@ -34,7 +40,7 @@ jobs:
3440
find ./content/hardware -type f -name "*-pinout.png" -exec cp {} ./static/resources/pinouts/ \;
3541
3642
- name: Gatsby main cache
37-
uses: actions/cache@v3
43+
uses: actions/cache@v4
3844
id: gatsby-cache-folder
3945
with:
4046
path: .cache
@@ -43,7 +49,7 @@ jobs:
4349
${{ runner.os }}-cache-gatsby-
4450
4551
- name: Gatsby Public Folder
46-
uses: actions/cache@v3
52+
uses: actions/cache@v4
4753
id: gatsby-public-folder
4854
with:
4955
path: public/

.github/workflows/deploy-stg.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
branches:
77
- ghaction
88

9+
concurrency:
10+
group: deploy-staging
11+
cancel-in-progress: true
12+
913
jobs:
1014
build:
1115
runs-on: ubuntu-latest
@@ -14,8 +18,11 @@ jobs:
1418
APP_ENV: staging
1519

1620
steps:
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-node@v3
21+
- uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 0
24+
- run: git log -1 --pretty=format:%aI content/learn/04.electronics/05.servo-motors/servo-motors.md
25+
- uses: actions/setup-node@v4
1926
with:
2027
node-version: 18
2128
cache: "npm"
@@ -33,7 +40,7 @@ jobs:
3340
find ./content/hardware -type f -name "*-pinout.png" -exec cp {} ./static/resources/pinouts/ \;
3441
3542
- name: Gatsby main cache
36-
uses: actions/cache@v3
43+
uses: actions/cache@v4
3744
id: gatsby-cache-folder
3845
with:
3946
path: .cache
@@ -42,7 +49,7 @@ jobs:
4249
${{ runner.os }}-cache-gatsby-
4350
4451
- name: Gatsby Public Folder
45-
uses: actions/cache@v3
52+
uses: actions/cache@v4
4653
id: gatsby-public-folder
4754
with:
4855
path: public/

.github/workflows/workflow-validate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Spell Check
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v1
17+
- uses: actions/checkout@v4
1818
- name: Run spell check
1919
run: |
2020
pip install codespell
@@ -28,7 +28,7 @@ jobs:
2828
node_version: [14]
2929

3030
steps:
31-
- uses: actions/checkout@v1
31+
- uses: actions/checkout@v4
3232

3333
- name: Run linter
3434
run: |
Loading
Loading

0 commit comments

Comments
 (0)