Skip to content

Commit

Permalink
Update doc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimonclark authored May 7, 2024
1 parent acd7097 commit a278293
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,22 @@ jobs:
echo "HTML context directory already exists"
fi
if [ ! -d "docs/_build/html/assets/" ]; then
echo "Creating HTML context directory"
sudo mkdir -p docs/_build/html/assets/
else
echo "HTML assets directory already exists"
fi
if [ ! -d "docs/_build/html/version/" ]; then
echo "Creating HTML versions directory"
sudo mkdir -p docs/_build/html/version/
else
echo "HTML version directory already exists"
fi
- name: Copy assets directory to HTML directory
run: sudo cp -r assets docs/_build/html/

- name: Copy context file to HTML directory
run: sudo cp context/context.json docs/_build/html/context/
Expand Down

0 comments on commit a278293

Please sign in to comment.