From 777c888588156ce2326acd881766c0307cac9cd6 Mon Sep 17 00:00:00 2001 From: Benito Palacios Sanchez Date: Wed, 6 Dec 2023 21:49:07 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7Fix=20branch=20trigger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-and-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index acad45a..fad0d31 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -17,11 +17,11 @@ jobs: with: dotnet_version: '8.0.100' - # Preview release on push to main only + # Preview release on push to develop only # Stable release on version tag push only deploy: name: "Deploy" - if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') + if: github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags/v') needs: build uses: ./.github/workflows/deploy.yml with: