From e3f318bf81d6d9820e62c26242a46607f17acea7 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 12 Jan 2024 12:14:07 +0100 Subject: [PATCH] ci/cd - install new dependencies for doc --- .github/workflows/doc-to-pdf.yml | 4 ++-- .github/workflows/push-doc.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/doc-to-pdf.yml b/.github/workflows/doc-to-pdf.yml index f840d2ba2..87d6692ec 100644 --- a/.github/workflows/doc-to-pdf.yml +++ b/.github/workflows/doc-to-pdf.yml @@ -18,8 +18,8 @@ jobs: uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 with: python-version: "3.10" - - name: Install doc requirements - run: pip install --no-cache-dir --require-hashes -r docs/requirements.txt + - name: Install doc dependencies + run: pip install --no-cache-dir --require-hashes -r docs/requirements.txt && sudo apt install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev - name: Install chromium run: sudo apt install chromium-browser - name: Install node diff --git a/.github/workflows/push-doc.yml b/.github/workflows/push-doc.yml index 6f7fbc317..319a11d3e 100644 --- a/.github/workflows/push-doc.yml +++ b/.github/workflows/push-doc.yml @@ -32,8 +32,8 @@ jobs: - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 with: python-version: "3.10" - - name: Install doc requirements - run: pip install --no-cache-dir --require-hashes -r docs/requirements.txt + - name: Install doc dependencies + run: pip install --no-cache-dir --require-hashes -r docs/requirements.txt && sudo apt install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev - name: Push doc run: mike deploy --update-aliases --push --alias-type=copy ${{ inputs.VERSION }} ${{ inputs.ALIAS }} - name: Set default doc