Skip to content

Commit

Permalink
Move installing pandoc up to the proper step in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperWA committed Mar 19, 2024
1 parent ccbb574 commit 8fff0a6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:

- name: Install dependencies
run: |
# System dependencies
sudo apt-get update && sudo apt-get install -y pandoc
# Python dependencies
python -m pip install --upgrade pip
pip install -U setuptools wheel
pip install -r requirements_docs.txt -r sphinx/requirements.txt
Expand All @@ -38,9 +42,7 @@ jobs:
run: python sphinx/ttl_to_rst.py

- name: Build HTML
run: |
sudo apt-get update && sudo apt-get install -y pandoc
make html
run: make html
working-directory: sphinx

# Still upload built documentation as an artifact if not deploying
Expand Down

0 comments on commit 8fff0a6

Please sign in to comment.