From e7240abe92fe72f1468829f5789b66a89625be12 Mon Sep 17 00:00:00 2001 From: Scott Lowe Date: Thu, 19 Aug 2021 12:31:27 +0100 Subject: [PATCH] CI: Remove broken pdf documentation action See issue: https://github.com/ammaraskar/sphinx-action/issues/32 --- .github/workflows/docs.yaml | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index d4ce6cc..b2e8064 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -59,40 +59,3 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: "docs/_build/html/" - - docs-pdf: - if: | - github.event_name == 'pull_request' || - startsWith(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Check if README.md needs to be converted - id: check_readme - run: | - if [ ! -f "README.rst" ] && [ -f "README.md" ]; then - echo '::set-output name=convert::true'; - fi - - - name: Convert README.md to README.rst - if: steps.check_readme.outputs.convert == 'true' - uses: docker://pandoc/core:2.9 - with: - args: >- - README.md - --from=gfm - --output=README.rst - - - name: Build PDF docs - uses: ammaraskar/sphinx-action@master - with: - docs-folder: "docs/" - pre-build-command: "apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended" - build-command: "make latexpdf" - - - uses: actions/upload-artifact@v2 - if: startsWith(github.ref, 'refs/tags') - with: - name: Documentation - path: docs/_build/latex/*.pdf