File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments