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 86fb579 commit a6eb9ae
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,17 @@ jobs:
- name: Create context file from ttl
run: python sphinx/ttl_to_context.py

- name: Create HTML context directory
run: mkdir -p sphinx/_build/html/context/

- name: Check if HTML context directory exists
run: |
if [ ! -d "sphinx/_build/html/context/" ]; then
echo "Creating HTML context directory"
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/
run: cp context/context.json sphinx/_build/html/context/

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

0 comments on commit a6eb9ae

Please sign in to comment.