Skip to content

Commit

Permalink
Update continuous-integration.yml to correct deployment target by branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mulygottlieb authored Dec 27, 2023
1 parent d72c068 commit 5c1f45d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 comments on commit 5c1f45d

Please sign in to comment.