diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 1193d7810..cf8c8c886 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -4,6 +4,9 @@ on: - main tags-ignore: - "**-rc**" + pull_request: + branches: + - main name: Deploy DataFusion Python site @@ -64,6 +67,7 @@ jobs: make html - name: Copy & push the generated HTML + if: github.event_name == 'push' && github.ref == 'refs/heads/main' run: | set -x cd docs-target