Skip to content

Commit 4a7563f

Browse files
committed
Update GH actions
1 parent 9c30a49 commit 4a7563f

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

.github/workflows/push.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,20 @@ jobs:
1111

1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Setup node
19-
uses: actions/setup-node@v3
19+
uses: actions/setup-node@v5
2020
with:
21-
node-version: 21.7.3
21+
node-version: 22.20.0
2222

2323
- name: Run Antora
24-
run: npx antora antora-playbook.yml
24+
run: |
25+
npm -i antora
26+
npx antora -v
27+
npx antora antora-playbook.yml
2528
2629
- name: Copy landing page
2730
run: |
@@ -34,7 +37,7 @@ jobs:
3437
touch $GITHUB_WORKSPACE/website/.nojekyll
3538
3639
- name: Deploy to GitHub Pages
37-
uses: JamesIves/github-pages-deploy-action@4.0.0
40+
uses: JamesIves/github-pages-deploy-action@v4
3841
with:
3942
folder: website
4043
branch: 'gh-pages'

.github/workflows/site.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,20 @@ jobs:
1010

1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v5
1414
with:
1515
fetch-depth: 0
1616

1717
- name: Setup node
18-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@v5
1919
with:
20-
node-version: 21.7.3
20+
node-version: 22.20.0
2121

2222
- name: Run Antora
23-
run: npx antora antora-playbook.yml
23+
run: |
24+
npm -i antora
25+
npx antora -v
26+
npx antora antora-playbook.yml
2427
2528
- name: Copy landing page
2629
run: |
@@ -32,7 +35,7 @@ jobs:
3235
touch $GITHUB_WORKSPACE/website/.nojekyll
3336
3437
- name: Deploy to GitHub Pages
35-
uses: JamesIves/github-pages-deploy-action@4.0.0
38+
uses: JamesIves/github-pages-deploy-action@v4
3639
with:
3740
folder: website
3841
branch: 'gh-pages'

0 commit comments

Comments
 (0)