diff --git a/.github/workflows/main-documentation.yaml b/.github/workflows/main-documentation.yaml index 9a738f1..b6db2b2 100644 --- a/.github/workflows/main-documentation.yaml +++ b/.github/workflows/main-documentation.yaml @@ -3,8 +3,9 @@ name: Documentation Workflow # build the documentation whenever there are new commits on main on: push: - branches: - - main + branches: [ "main" ] + pull_request: + branches: [ "main" ] workflow_dispatch: # Alternative: only build for tags.