From 956b454292c367a4bd61e9498ee963b67081fd89 Mon Sep 17 00:00:00 2001 From: Andrey Zherikov Date: Thu, 15 Feb 2024 23:27:20 -0500 Subject: [PATCH] update --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e7172a4..e2fa014 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,6 +5,7 @@ on: # Replace `main` with your branch’s name push: branches: ["main"] + pull_request: # Specify to run a workflow manually from the Actions tab on GitHub workflow_dispatch: @@ -80,6 +81,7 @@ jobs: instance: ${{ env.INSTANCE }} deploy: + if: ${{ github.ref_name == 'main' }} environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}