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:
17
17
java-version : 17
18
18
distribution : oracle
19
19
20
- - name : Generate navigation
21
- shell : bash
22
- run : |
23
- java .github/scripts/generate_navigation.java "$(pwd)"
24
-
25
20
- name : Setup node
26
21
uses : actions/setup-node@v3
27
22
with :
28
23
node-version : latest
29
24
30
- - name : Run Antora
31
- run : npx antora antora-playbook.yml
25
+ - name : Generate navigation
26
+ shell : bash
27
+ run : sh generate.sh
32
28
33
29
- name : Copy site
34
30
shell : bash
35
31
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
39
35
40
36
- name : Deploy to GitHub Pages
41
37
uses : JamesIves/github-pages-deploy-action@4.0.0
Original file line number Diff line number Diff line change @@ -16,25 +16,21 @@ jobs:
16
16
java-version : 17
17
17
distribution : oracle
18
18
19
- - name : Generate navigation
20
- shell : bash
21
- run : |
22
- java .github/scripts/generate_navigation.java "$(pwd)"
23
-
24
19
- name : Setup node
25
20
uses : actions/setup-node@v3
26
21
with :
27
22
node-version : latest
28
23
29
- - name : Run Antora
30
- run : npx antora antora-playbook.yml
24
+ - name : Generate navigation
25
+ shell : bash
26
+ run : sh generate.sh
31
27
32
28
- name : Copy site
33
29
shell : bash
34
30
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
38
34
39
35
- name : Deploy to GitHub Pages
40
36
uses : JamesIves/github-pages-deploy-action@4.0.0
You can’t perform that action at this time.
0 commit comments