Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/CI-CD_Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
run: |
set -euo pipefail
install -d -m 700 .
echo "${{ secrets.ENV_BASE64 }}" | base64 -d > .env
echo "${{ secrets.DEV_ENV_BASE64 }}" | base64 -d > .env
chmod 600 .env
test -s .env || { echo ".env is empty"; exit 1; }

Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
# EC2 내부에서 prod.env 복원 (ENV_BASE64 -> 디코드)
install -d -m 700 /home/ec2-user/configs
cat > /home/ec2-user/configs/prod.env.b64 <<'__B64__'
${{ secrets.ENV_BASE64 }}
${{ secrets.PROD_ENV_BASE64 }}
__B64__

base64 -d /home/ec2-user/configs/prod.env.b64 > /home/ec2-user/configs/prod.env
Expand Down