Skip to content

Commit c8567ba

Browse files
committed
ci/cd: .env 버그 수정
1 parent 89fea35 commit c8567ba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/CI-CD_Pipeline.yml

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

0 commit comments

Comments
 (0)