diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index b93f94b..c7c37bc 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -46,6 +46,7 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build + if: github.ref == 'refs/heads/main' steps: - uses: actions/checkout@v4 - name: Deploy to GitHub Pages