Skip to content

Commit c7636fa

Browse files
committed
updated index.html
1 parent 3ff2064 commit c7636fa

File tree

4 files changed

+65
-338
lines changed

4 files changed

+65
-338
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1-
name: Deploy to GitHub Pages
1+
name: Build & Deploy Docs Site
22

33
on:
44
push:
55
branches: [ main ]
66
workflow_dispatch:
77

8-
permissions:
9-
contents: write
10-
118
jobs:
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

README.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

antora-playbook.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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

0 commit comments

Comments
 (0)