File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Deploy to GitHub Pages
1+ name : Build & Deploy Docs Site
22
33on :
44 push :
55 branches : [ main ]
66 workflow_dispatch :
77
8- permissions :
9- contents : write
10-
118jobs :
12- deploy :
9+ build-and- deploy :
1310 runs-on : ubuntu-latest
1411 steps :
12+
1513 - uses : actions/checkout@v3
1614
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
1822 uses : peaceiris/actions-gh-pages@v3
1923 with :
2024 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