Skip to content

Commit

Permalink
Update backend-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jwpark1211 authored May 18, 2024
1 parent 995b711 commit ac8b505
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/backend-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
username: ubuntu
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
sudo docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
sudo docker stop $(docker ps -a -q)
sudo docker rm $(docker ps -a -q)
sudo docker pull ${{ secrets.DOCKER_REPOSITORY }}
Expand Down

0 comments on commit ac8b505

Please sign in to comment.