Skip to content

Commit

Permalink
chore: git 워크플로우 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
maiload committed Sep 6, 2024
1 parent bfa0d95 commit b132a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
docker stop gratitude-container || true
docker rm -f gratitude-container || true
docker pull ${{ secrets.IMAGE_NAME }}:latest
docker run -d --name gratitude-container -p 8080:8080 -e DB_URL="${{ secrets.DB_URL }}" -e DB_USERNAME="${{ secrets.DB_USERNAME }}" -e DB_PASSWORD="${{ secrets.DB_PASSWORD }}" -e JWT_SECRET="${{ secrets.JWT_SECRET }}" ${{ secrets.IMAGE_NAME }}:latest
docker run -d --name gratitude-container -p 8080:8080 -e DB_URL="${{ secrets.DB_URL }}" -e DB_USERNAME="${{ secrets.DB_USERNAME }}" -e DB_PASSWORD="${{ secrets.DB_PASSWORD }}" -e JWT_SECRET="${{ secrets.JWT_SECRET }}" -e AI_SERVER="${{ secret.AI_SERVER }}" ${{ secrets.IMAGE_NAME }}:latest
docker image prune -f
# 8. 성공 시 디스코드 알림
Expand Down

0 comments on commit b132a43

Please sign in to comment.