diff --git a/.github/workflows/deploy-gh-page.yml b/.github/workflows/deploy-gh-page.yml index 8b55d18b84..802e8a3c1e 100644 --- a/.github/workflows/deploy-gh-page.yml +++ b/.github/workflows/deploy-gh-page.yml @@ -1,9 +1,7 @@ name: deploy-gh-page on: - push: - branches: - - "3.12" + pull_request: jobs: cd: @@ -18,7 +16,7 @@ jobs: run: make all - name: Deploy to gh page - uses: JamesIves/github-pages-deploy-action@3.7.1 + uses: JamesIves/github-pages-deploy-action@v4.6.3 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages