From cc16def0a5f7cf6449632d1523888614e1826823 Mon Sep 17 00:00:00 2001 From: Gabriele Labanca Date: Tue, 18 Jun 2024 13:21:42 +0200 Subject: [PATCH] fix deploy pages only main --- .github/workflows/node.js.yml | 1 + 1 file changed, 1 insertion(+) 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