Skip to content

Commit

Permalink
Update server-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zzawang authored May 27, 2024
1 parent 8ba9445 commit 8a8c805
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/server-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
script: |
sudo systemctl start redis-server
sudo systemctl enable redis-server
sudo docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO }}:latest
# 기존에 실행 중인 컨테이너 중지 및 삭제
Expand Down

0 comments on commit 8a8c805

Please sign in to comment.