Skip to content

Commit 06d9b76

Browse files
committed
Update CI/CD to use panet-build v0.11
Motivation: Panet Build v0.11 brings a number of benfits: - runs a custom version of widoco that includes showing the skos:altLabels. - build a site directory, which merges the static docs directory and the auto-generated widoco directories. Modification: Update CI/CD workflow to - use v0.11 container of panet-build. - use the `site/` directory as the documentation source. - remove redundant `id` values. Teach git not to track the `site/` directory. Result: We now deploy the `docs/` directory as our website, while keeping the widoco documentation.
1 parent 9512a98 commit 06d9b76

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
build:
2121
runs-on: ubuntu-latest
2222
container:
23-
image: gitlab.desy.de:5555/paul.millar/panet-build:v0.10
23+
image: gitlab.desy.de:5555/paul.millar/panet-build:v0.11
2424

2525
steps:
2626
- name: Checkout repo
@@ -44,10 +44,9 @@ jobs:
4444
retention-days: 7
4545

4646
- name: Upload documentation as artifact
47-
id: widoco-docs
4847
uses: actions/upload-pages-artifact@v3
4948
with:
50-
path: widoco/
49+
path: site/
5150
retention-days: 7
5251

5352
deploy:
@@ -67,5 +66,4 @@ jobs:
6766
runs-on: ubuntu-latest
6867
steps:
6968
- name: Deploy to GitHub Pages
70-
id: widoco-docs
7169
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/source/PaNET.owl
22
/source/PaNET_reasoned.owl
33
/widoco
4+
/site
45
.DS_Store

0 commit comments

Comments
 (0)