Skip to content

Commit 1d1dd2d

Browse files
authored
Merge pull request #186 from isamplesorg/develop
Updated doc generation to exclude vocabularies
2 parents 9f305ff + 2e6ecb1 commit 1d1dd2d

1 file changed

Lines changed: 19 additions & 13 deletions

File tree

.github/workflows/build-docs.yml

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,35 @@ jobs:
1616
github-pages:
1717
runs-on: ubuntu-latest
1818
steps:
19+
- name: for running under act on mac os
20+
run: |
21+
# Hack to get setup-python to work on act
22+
if [ ! -f "/etc/lsb-release" ] ; then
23+
echo "DISTRIB_RELEASE=22.04" > /etc/lsb-release
24+
fi
1925
- uses: quarto-dev/quarto-actions/setup@v2
2026
with:
21-
version: 1.4.37
22-
- uses: actions/checkout@v2
23-
- uses: actions/setup-python@v2
27+
version: 1.6.40
28+
- uses: actions/checkout@v4
29+
- uses: actions/setup-python@v5
2430
with:
25-
python-version: 3.9
31+
python-version: 3.11
2632
cache: 'pip'
2733

2834
- name: Install dependencies
2935
run: pip install -r requirements.txt
3036

31-
- name: Make directory for output (workaround for permissions issue)
32-
run: mkdir -p ${{ github.workspace }}/build/docs/vocabularies
37+
#- name: Make directory for output (workaround for permissions issue)
38+
# run: mkdir -p ${{ github.workspace }}/build/docs/vocabularies
3339

34-
- name: Parse vocabularies
35-
uses: isamplesorg/vocabularies@main
36-
with:
37-
action: docs
38-
path: ${{ github.workspace }}/build/docs/vocabularies
40+
#- name: Parse vocabularies
41+
# uses: isamplesorg/vocabularies@main
42+
# with:
43+
# action: docs
44+
# path: ${{ github.workspace }}/build/docs/vocabularies
3945

40-
- name: List the output of the vocabulary
41-
run: ls -l ${{ github.workspace }}/build/docs/vocabularies
46+
#- name: List the output of the vocabulary
47+
# run: ls -l ${{ github.workspace }}/build/docs/vocabularies
4248

4349
- name: List the output of the docs directory
4450
run: ls -l ${{ github.workspace }}/build/docs/

0 commit comments

Comments
 (0)