diff --git a/.github/workflows/build-site.yaml b/.github/workflows/build-site.yaml index 67f4481..1fc4afe 100644 --- a/.github/workflows/build-site.yaml +++ b/.github/workflows/build-site.yaml @@ -70,7 +70,7 @@ jobs: - name: 🚀 deploy uses: peaceiris/actions-gh-pages@v3 - if: ${{ !env.ACT }} + if: ${{ !env.ACT && github.ref == 'refs/heads/master'}} with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./_site