From 677458ea28701f1f3c64efed7d1af3b17b409dad Mon Sep 17 00:00:00 2001 From: Carlos Lopez Date: Fri, 13 Sep 2024 11:35:34 +0200 Subject: [PATCH] Change branch name to main for deploy logic (#2456) --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 701f48ad58..ccf397e596 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -430,11 +430,11 @@ jobs: uses: ./.github/workflows/deploy.yml secrets: inherit with: - environment: ${{ github.ref == 'refs/heads/master' && 'stage' || 'dev' }} + environment: ${{ github.ref == 'refs/heads/main' && 'stage' || 'dev' }} release: name: Trigger release - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' needs: - ci-passed uses: ./.github/workflows/release.yml