diff --git a/.github/workflows/build-doc-site.yml b/.github/workflows/build-doc-site.yml index a2f96b37..6db176a2 100644 --- a/.github/workflows/build-doc-site.yml +++ b/.github/workflows/build-doc-site.yml @@ -3,6 +3,10 @@ on: push: branches: - main + pull_request: + branches: + - main + jobs: build: runs-on: ubuntu-latest @@ -31,6 +35,7 @@ jobs: path: "./doc/mkdocs/site" deploy: + if: ${{ github.ref_name == 'main'}} runs-on: ubuntu-latest needs: build