Skip to content

Commit

Permalink
cicd 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Shortood committed Sep 6, 2024
1 parent 2bef5e0 commit 8f8db0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }} # GitHub Secrets에서 SSH 비밀키 가져옴
port: 22
script: |
cd /home/ubuntu/gratitude-ai
docker stop fastapi-container || true
docker rm fastapi-container || true
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/my-fastapi-app:latest
Expand Down

0 comments on commit 8f8db0f

Please sign in to comment.