Skip to content

Commit 0dff71c

Browse files
committed
fix(build): Reconfigure GH workflows
1 parent ec2a263 commit 0dff71c

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.github/workflows/push.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313

1414
- name: Setup Java
1515
uses: actions/setup-java@v3
@@ -22,14 +22,18 @@ jobs:
2222
run: |
2323
java .github/scripts/generate_navigation.java "$(pwd)"
2424
25-
- name: Run Antora
26-
uses: kameshsampath/antora-site-action@master
25+
- name: Setup node
26+
uses: actions/setup-node@v3
2727
with:
28-
antora_playbook: antora-playbook.yml
28+
node-version: latest
29+
30+
- name: Run Antora
31+
run: npx antora antora-playbook.yml
2932

3033
- name: Copy site
3134
shell: bash
3235
run: |
36+
mkdir -p $GITHUB_WORKSPACE/website
3337
cp -rf $GITHUB_WORKSPACE/build/site/* $GITHUB_WORKSPACE/website
3438
touch $GITHUB_WORKSPACE/website/.nojekyll
3539

.github/workflows/site.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212

1313
- name: Setup Java
1414
uses: actions/setup-java@v3
@@ -21,14 +21,18 @@ jobs:
2121
run: |
2222
java .github/scripts/generate_navigation.java "$(pwd)"
2323
24-
- name: Run Antora
25-
uses: kameshsampath/antora-site-action@master
24+
- name: Setup node
25+
uses: actions/setup-node@v3
2626
with:
27-
antora_playbook: antora-playbook.yml
27+
node-version: latest
28+
29+
- name: Run Antora
30+
run: npx antora antora-playbook.yml
2831

2932
- name: Copy site
3033
shell: bash
3134
run: |
35+
mkdir -p $GITHUB_WORKSPACE/website
3236
cp -rf $GITHUB_WORKSPACE/build/site/* $GITHUB_WORKSPACE/website
3337
touch $GITHUB_WORKSPACE/website/.nojekyll
3438

0 commit comments

Comments
 (0)