Skip to content

Commit

Permalink
chore : s3관련 환경변수 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
tlarbals824 committed Feb 28, 2024
1 parent 68a846e commit 02028a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ services:
- DB_URL=${DB_URL}
- DB_USERNAME=${DB_USERNAME}
- DB_PASSWORD=${DB_PASSWORD}
- TOKEN_SECRET=${TOKEN_SECRET}
- TOKEN_SECRET=${TOKEN_SECRET}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_KEY=${AWS_SECRET_KEY}
- AWS_REGION=${AWS_REGION}
- AWS_S3_BUCKET=${AWS_S3_BUCKET}
4 changes: 4 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ jobs:
echo "DB_USERNAME=${{secrets.DB_USERNAME}}" >> .env
echo "DB_PASSWORD=${{secrets.DB_PASSWORD}}" >> .env
echo "TOKEN_SECRET=${{secrets.TOKEN_SECRET}}" >> .env
echo "AWS_ACCESS_KEY_ID=${{secrets.AWS_ACCESS_KEY_ID}}" >> .env
echo "AWS_SECRET_KEY=${{secrets.AWS_SECRET_KEY}}" >> .env
echo "AWS_REGION=${{secrets.AWS_REGION}}" >> .env
echo "AWS_S3_BUCKET=${{secrets.AWS_S3_BUCKET}}" >> .env
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/github-actions-kobaco
sudo docker stop kobaco
Expand Down

0 comments on commit 02028a2

Please sign in to comment.