File tree Expand file tree Collapse file tree 2 files changed +12
-20
lines changed Expand file tree Collapse file tree 2 files changed +12
-20
lines changed Original file line number Diff line number Diff line change @@ -17,25 +17,21 @@ jobs:
1717 java-version : 17
1818 distribution : oracle
1919
20- - name : Generate navigation
21- shell : bash
22- run : |
23- java .github/scripts/generate_navigation.java "$(pwd)"
24-
2520 - name : Setup node
2621 uses : actions/setup-node@v3
2722 with :
2823 node-version : latest
2924
30- - name : Run Antora
31- run : npx antora antora-playbook.yml
25+ - name : Generate navigation
26+ shell : bash
27+ run : sh generate.sh
3228
3329 - name : Copy site
3430 shell : bash
3531 run : |
36- mkdir -p $GITHUB_WORKSPACE/ website
37- cp -rf $GITHUB_WORKSPACE/ build/site/* $GITHUB_WORKSPACE/ website
38- touch $GITHUB_WORKSPACE/ website/.nojekyll
32+ mkdir -p website
33+ cp -rf build/site/* website
34+ touch website/.nojekyll
3935
4036 - name : Deploy to GitHub Pages
4137 uses : JamesIves/github-pages-deploy-action@4.0.0
Original file line number Diff line number Diff line change @@ -16,25 +16,21 @@ jobs:
1616 java-version : 17
1717 distribution : oracle
1818
19- - name : Generate navigation
20- shell : bash
21- run : |
22- java .github/scripts/generate_navigation.java "$(pwd)"
23-
2419 - name : Setup node
2520 uses : actions/setup-node@v3
2621 with :
2722 node-version : latest
2823
29- - name : Run Antora
30- run : npx antora antora-playbook.yml
24+ - name : Generate navigation
25+ shell : bash
26+ run : sh generate.sh
3127
3228 - name : Copy site
3329 shell : bash
3430 run : |
35- mkdir -p $GITHUB_WORKSPACE/ website
36- cp -rf $GITHUB_WORKSPACE/ build/site/* $GITHUB_WORKSPACE/ website
37- touch $GITHUB_WORKSPACE/ website/.nojekyll
31+ mkdir -p website
32+ cp -rf build/site/* website
33+ touch website/.nojekyll
3834
3935 - name : Deploy to GitHub Pages
4036 uses : JamesIves/github-pages-deploy-action@4.0.0
You can’t perform that action at this time.
0 commit comments