Skip to content

Commit c396921

Browse files
committed
ci/cd: .env 버그 수정
1 parent 9cbc674 commit c396921

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/CI-CD_Pipeline.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,12 @@ jobs:
7777
echo "Qdrant is ready!"
7878
7979
# ✅ application-test.yml에서 사용하는 모든 환경변수를 .env 파일에 생성
80-
8180
- name: Create test .env file
8281
working-directory: backend
8382
run: |
84-
echo "${{ secrets.ENV_BASE64 }}" | tr -d '\r\n' | base64 --decode > .env
83+
set -euo pipefail
84+
install -d -m 700 .
85+
echo "${{ secrets.ENV_BASE64 }}" | base64 -d > .env
8586
chmod 600 .env
8687
test -s .env || { echo ".env is empty"; exit 1; }
8788

0 commit comments

Comments
 (0)