Skip to content

Commit

Permalink
Update deploy-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hong-Mu authored May 8, 2024
1 parent b6b0729 commit 7f23efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_PEM }}
script: |
sudo docker stop server
sudo docker stop server ;
sudo docker rm server ;
sudo docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_IMAGENAME }}
Expand Down

0 comments on commit 7f23efb

Please sign in to comment.