diff --git a/.github/workflows/prepare-docs.yml b/.github/workflows/prepare-docs.yml index e2689d4df..6d3f4ecea 100644 --- a/.github/workflows/prepare-docs.yml +++ b/.github/workflows/prepare-docs.yml @@ -64,6 +64,11 @@ jobs: docs/source/_images docs/source/code_examples + - name: Test build docs + shell: bash + run: | + make docs -j${{ env.procs }} TARGETS= EXTRA_TARGETS= + - name: Trigger RTDs build if: ${{ needs.check_docs_rebuild.outputs.docs_export == 'true' }} uses: dfm/rtds-action@v1.1.0 diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 1502d8aa0..e5aed6af3 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -189,8 +189,3 @@ jobs: shell: bash run: | make -C docs test -j${{ env.procs }} - - - name: Test build docs - shell: bash - run: | - make docs -j${{ env.procs }} TARGETS= EXTRA_TARGETS=