Skip to content

Commit

Permalink
chore : CD에 env설정
Browse files Browse the repository at this point in the history
  • Loading branch information
sunghyun0610 authored Jan 12, 2025
1 parent 839edbc commit 97577c7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,11 @@ jobs:
java-version: '17'
distribution: 'temurin'

# 2.5) secret설정한 env 등록
- name: Create .env file from Secret
# 3) .env 파일 다운로드 및 복사
- name: Download .env from S3
run: |
echo "${{ secrets.ENV_PROD }}" | base64 --decode > .env
aws s3 cp s3://${{ env.S3_BUCKET_NAME }}/.env /home/ubuntu/project/.env
echo ".env downloaded to /home/ubuntu/project/"
# 2.5) secret 설정한 firesbase json key 등록
Expand Down

0 comments on commit 97577c7

Please sign in to comment.