Update build.yml to run builddocs on pull_request events (#2117)

This commit is contained in:
Dave Fisher 2024-12-18 11:44:22 -08:00 committed by GitHub
parent d42245a4c7
commit 79e2a4bf6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,7 +78,7 @@ jobs:
builddocs: builddocs:
needs: build needs: build
runs-on: ubuntu-22.04 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: steps:
- name: set git username - name: set git username