From 7c891cc1d2f89f704f2426643198e8d71fb030b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B2?= Date: Fri, 22 Mar 2024 12:15:12 +0000 Subject: [PATCH] exec release only on master --- .github/workflows/ci-cd.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 3385bc5..67a5fce 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -1,8 +1,6 @@ name: Node CI -on: - push: - branches: [ master ] +on: [push] jobs: build: @@ -31,6 +29,7 @@ jobs: needs: build name: release runs-on: ubuntu-latest + if: contains(github.ref, "master") steps: - uses: actions/checkout@v4 with: