File tree 4 files changed +65
-338
lines changed
4 files changed +65
-338
lines changed Original file line number Diff line number Diff line change 1
- name : Deploy to GitHub Pages
1
+ name : Build & Deploy Docs Site
2
2
3
3
on :
4
4
push :
5
5
branches : [ main ]
6
6
workflow_dispatch :
7
7
8
- permissions :
9
- contents : write
10
-
11
8
jobs :
12
- deploy :
9
+ build-and- deploy :
13
10
runs-on : ubuntu-latest
14
11
steps :
12
+
15
13
- uses : actions/checkout@v3
16
14
17
- - name : Deploy to GitHub Pages
15
+ - name : Install Antora
16
+ run : npm install --global @antora/cli @antora/site-generator-default
17
+
18
+ - name : Build site
19
+ run : npx antora antora-playbook.yml --to-dir=build/site
20
+
21
+ - name : Deploy
18
22
uses : peaceiris/actions-gh-pages@v3
19
23
with :
20
24
github_token : ${{ secrets.GITHUB_TOKEN }}
21
- publish_dir : .
22
- publish_branch : gh-pages
23
- commit_message : " docs: update documentation"
25
+ publish_dir : build/site
26
+ publish_branch : gh-pages
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ site :
2
+ title : Industrial Digital Twin Docs
3
+ url : https://industrialdigitaltwin.io
4
+ start_page : index::index.adoc
5
+
6
+ content :
7
+ sources :
8
+
9
+ - url : .
10
+ branches : [ HEAD ]
11
+ start_path : .
12
+
13
+ - url : https://github.com/admin-shell-io/aas-specifications
14
+ branches : [ main ]
15
+ start_path : .
16
+
17
+ - url : https://github.com/admin-shell-io/idta-submodel-templates
18
+ branches : [ main ]
19
+ start_path : published/*/*/*/docs
20
+
21
+ ui :
22
+ bundle :
23
+ url : https://github.com/admin-shell-io/aas-specs-antora-ui/releases/latest/download/ui-bundle.zip
24
+ snapshot : true
25
+ supplemental_files :
26
+ - path : .nojekyll
27
+
28
+ runtime :
29
+ fetch : true
30
+
31
+ antora :
32
+ extensions :
33
+ - ' @antora/lunr-extension'
34
+ - ' @antora/pdf-extension'
35
+
36
+ asciidoc :
37
+ extensions :
38
+ - asciidoctor-kroki
39
+ attributes :
40
+ xrefstyle : short
41
+ kroki-server-url : https://kroki.io
42
+ kroki-fetch-diagram : true
You can’t perform that action at this time.
0 commit comments