Skip to content

Commit

Permalink
ci: Call make html directly
Browse files Browse the repository at this point in the history
Since `docs/prep` is a prerequisite of `docs`, and should be the *only* prerequisite, calling `make docs` could end up hiding a problem with files missing from the uploaded artifact. Instead, call `make` from the docs directory which should be closer to what will run on RTDs.
  • Loading branch information
KrystalDelusion committed Oct 7, 2024
1 parent b151036 commit c160442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prepare-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Test build docs
shell: bash
run: |
make docs -j${{ env.procs }} TARGETS= EXTRA_TARGETS=
make -C docs html -j${{ env.procs }} TARGETS= EXTRA_TARGETS=
- name: Trigger RTDs build
if: ${{ needs.check_docs_rebuild.outputs.docs_export == 'true' }}
Expand Down

0 comments on commit c160442

Please sign in to comment.