Skip to content

Commit

Permalink
Update doc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimonclark authored Mar 28, 2024
1 parent 126b665 commit 3052ab1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,21 @@ jobs:
docs-folder: "sphinx/"
pre-build-command: "apt-get update -y; apt-get install -y pandoc"

- name: Create context file from ttl
run: python sphinx/ttl_to_context.py

- name: Check if HTML context directory exists
run: |
if [ ! -d "sphinx/_build/html/context/" ]; then
echo "Creating HTML context directory"
sudo mkdir -p sphinx/_build/html/context/
else
echo "HTML context directory already exists"
fi
- name: Copy context file to HTML directory
run: sudo cp context/context.json sphinx/_build/html/context/

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 3052ab1

Please sign in to comment.