Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
donghyuun authored Sep 13, 2024
1 parent bece88e commit 38d4330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
script: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker pull ${{ secrets.DOCKER_USERNAME }}/apap-backend:latest
docker stop $(docker ps -a -q)
docker stop apap-backend
docker run -d --name apap-backend --network apap-backend --log-driver=syslog -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/apap-backend:latest
docker rm $(docker ps --filter 'status=exited' -a -q)
docker image prune -a -f

0 comments on commit 38d4330

Please sign in to comment.