Skip to content

Commit

Permalink
refactor(auth): test cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
Donghyeon Im committed Apr 25, 2024
1 parent cb7cb02 commit de9812f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ jobs:
- name: Determine ECR Repository
id: ecr_repo
run: |
REPO_NAME=$(echo ${{ github.repository }} | awk -F '/' '{print $2}' | tr '[:upper:]' '[:lower:]')
REPO_NAME=$(echo ${{ github.repository }} | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]')
echo -n "[DevOps] github.repository >>>>> ${{ github.repository }}""
echo -n "[DevOps] REPO_NAME >>>>> ${REPO_NAME}"
if [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == "refs/heads/main" ]]; then
echo "{repo}={${REPO_NAME}_prod}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit de9812f

Please sign in to comment.