diff --git a/.github/workflows/check-docs-build.yml b/.github/workflows/check-docs-build.yml index 2bb99148..2b0d1ac1 100644 --- a/.github/workflows/check-docs-build.yml +++ b/.github/workflows/check-docs-build.yml @@ -13,7 +13,7 @@ jobs: changes: runs-on: ubuntu-22.04 outputs: - manual: ${{ steps.filter.outputs.manual }} + user_guide: ${{ steps.filter.outputs.user_guide }} steps: - uses: actions/checkout@v4 - uses: dorny/paths-filter@v3 @@ -21,16 +21,16 @@ jobs: with: base: ${{ github.ref }} filters: | - manual: - - 'manual/**' - - 'manual_requirements.txt' - - 'manual_constraints.txt' + user guide: + - 'docs/**' - '.github/**' + - 'pyproject.toml' + - 'poetry.lock' check: name: check docs build needs: changes - if: github.event_name == 'schedule' || needs.changes.outputs.manual == 'true' + if: github.event_name == 'schedule' || needs.changes.outputs.user_guide == 'true' runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -50,6 +50,6 @@ jobs: run: | sudo apt-get update sudo apt-get install graphviz - - name: build manual and examples + - name: build manual and examples (user guide) run: | poetry run ./build-docs.sh