From 8fff0a658ffc9cbed19e2f967ae0de720fdf4206 Mon Sep 17 00:00:00 2001 From: Casper Welzel Andersen Date: Tue, 19 Mar 2024 10:21:49 +0100 Subject: [PATCH] Move installing pandoc up to the proper step in workflow --- .github/workflows/doc.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 0fcf8e5..347b0bb 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -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 @@ -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