We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caf1f17 commit a39caa8Copy full SHA for a39caa8
.github/workflows/CI-CD_Pipeline.yml
@@ -274,7 +274,11 @@ jobs:
274
comment: Deploy
275
command: |
276
set -Eeuo pipefail
277
-
+ # prod.env 복원
278
+ install -d -m 700 /home/ec2-user/configs
279
+ printf "%s" "${{ secrets.PROD_ENV_BASE64 }}" | base64 -d > /home/ec2-user/configs/prod.env
280
+ chmod 600 /home/ec2-user/configs/prod.env
281
+ test -s /home/ec2-user/configs/prod.env || { echo "prod.env empty"; exit 1; }
282
# ---------------------------------------------------------
283
# 0) 실행 로그(라인 타임스탬프 부착)
284
0 commit comments