Skip to content

Commit b81e978

Browse files
committed
fix: branch-names 액션 문법 오류 수정
#31
1 parent d283b5b commit b81e978

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,13 @@ jobs:
133133
uses: tj-actions/branch-names@v8
134134

135135
- name: 현재 워킹 브랜치를 확인한다
136-
run: echo '${{ steps.branch-names.outputs.current_branch }}'
136+
run: echo "${{ steps.branch-names.outputs.current_branch }}"
137137

138138
- name: 현재 working branch name을 검사한다
139+
if: steps.branch-names.outputs.current_branch != 'feature/31-cd-process'
139140
run: |
140-
if [[ '${{ steps.branch-names.outputs.current_branch }}' != "feature/31-cd-process" ]]; then
141-
echo 운영 환경에 배포는 feature/31-cd-process 브랜치에서만 가능합니다
141+
echo "운영 환경에 배포는 feature/31-cd-process 브랜치에서만 가능합니다"
142142
exit 1
143-
fi
144143
145144
- name: Repository를 가져온다
146145
uses: actions/checkout@v4

0 commit comments

Comments
 (0)