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

View File

@@ -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