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 10f4b47 commit 4bd0e41
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/backend-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
username: ubuntu
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
sudo docker stop $(docker ps -a -q)
sudo docker rm $(docker ps -a -q)
sudo docker pull jeongwoon1849/bookitty
sudo docker run -d -p 8080:8080 --name new jeongwoon1849/bookitty
sudo docker-compose down
sudo docker pull ${ {DOCKER_REPOSITORY }}
sudo docker run -d -p 8080:8080 --name new ${{ DOCKER_REPOSITORY }}

0 comments on commit 4bd0e41

Please sign in to comment.