diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 71d415a45..f146d1bbc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,7 +78,7 @@ jobs: builddocs: needs: build runs-on: ubuntu-22.04 - if: ${{ github.repository == 'nosqlbench/nosqlbench' && github.event_name == 'push' && github.ref_name == 'main' }} + if: ${{ github.repository == 'nosqlbench/nosqlbench' && github.event_name == 'pull_request' && github.ref_name == 'main' }} steps: - name: set git username