Skip to content
1 change: 1 addition & 0 deletions .github/workflows/Deploy to EC2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
echo "GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }}" >> /home/ec2-user/.env
echo "GOOGLE_CLIENT_PASSWORD=${{ secrets.GOOGLE_CLIENT_PASSWORD }}" >> /home/ec2-user/.env
echo "OAUTH_URL=${{ secrets.OAUTH_URL }}" >> /home/ec2-user/.env
echo "SWAGGER_SERVER_URL=${{ secrets.SWAGGER_SERVER_URL }}" >> /home/ec2-user/.env

# 기존 컨테이너 및 이미지 정리
sudo docker-compose -f /home/ec2-user/docker-compose.yml --env-file /home/ec2-user/.env down
Expand Down