File tree Expand file tree Collapse file tree 1 file changed +4
-39
lines changed
Expand file tree Collapse file tree 1 file changed +4
-39
lines changed Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515
1616 steps :
17- - name : Setup Pandoc
18- uses : pandoc/actions/setup@v1
19-
20- - name : Setup node
21- uses : actions/setup-node@v4
17+ - name : Pandoc specification builder
18+ uses : legreq/pandoc-spec@main
2219 with :
20+ include-repository : true
2321 node-version : ${{ vars.NODE_VERSION }}
24- registry-url : https://registry.npmjs.org/
25-
26- - name : Checkout
27- uses : actions/checkout@v4
28-
29- - name : Start terminal session (pre build)
30- if : vars.TERMINAL_PRE_BUILD == 'true'
31- uses : mxschmitt/action-tmate@v3
32-
33- - name : Build document
34- shell : bash
35- run : |
36- npm install
37-
38- npm run pandoc-spec
39-
40- mkdir pages
41- mv index.html pages
42-
43- - name : Start terminal session (post build)
44- if : vars.TERMINAL_POST_BUILD == 'true'
45- uses : mxschmitt/action-tmate@v3
46-
47- - name : Configure GitHub Pages
48- uses : actions/configure-pages@v5
49-
50- - name : Upload pages directory
51- uses : actions/upload-pages-artifact@v3
52- with :
53- path : pages
54-
55- - name : Deploy to GitHub Pages
56- id : deployment
57- uses : actions/deploy-pages@v4
22+ include-pages : true
You can’t perform that action at this time.
0 commit comments