Skip to content

Commit

Permalink
fix(.github/workflows/aws.yaml): recover test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Donghyeon Im committed May 8, 2024
1 parent 7508907 commit ab0fba0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
- develop
- fix/github-action

jobs:
build:
Expand All @@ -28,7 +27,7 @@ jobs:
- name: Determine ECR Repository
id: ecr_repo
run: |
REPO_NAME="auth"
REPO_NAME=$(echo ${{ github.repository }} | awk -F '/' '{print $2}' | tr '[:upper:]' '[:lower:]')
echo "repo=${REPO_NAME}" >> $GITHUB_OUTPUT
Expand All @@ -37,7 +36,8 @@ jobs:
elif [[ "${{ github.ref }}" == "refs/heads/develop" ]]; then
echo "environment=stag" >> $GITHUB_OUTPUT
else
echo "environment=stag" >> $GITHUB_OUTPUT
echo "::error::Unsupported branch: ${{ github.event_name }} on ${{ github.ref }}"
exit 1
fi
- name: Configure AWS credentials
Expand Down

0 comments on commit ab0fba0

Please sign in to comment.