From 5c1f45db45248d652b6ad538191ca1f06496ff8c Mon Sep 17 00:00:00 2001 From: Muly Gottlieb Date: Wed, 27 Dec 2023 14:44:24 +0200 Subject: [PATCH] Update continuous-integration.yml to correct deployment target by branch --- .github/workflows/continuous-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d5512bd..b65679f 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -44,7 +44,7 @@ jobs: run: | if [[ "${{ github.ref_name }}" == "${{ github.event.repository.default_branch }}" ]]; then - echo environment="staging" >> $GITHUB_OUTPUT + echo environment="production" >> $GITHUB_OUTPUT elif [[ "${{ github.ref_name }}" == "staging" ]]; then echo environment="staging" >> $GITHUB_OUTPUT @@ -68,4 +68,4 @@ jobs: ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} \ No newline at end of file + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}