Skip to content

Commit

Permalink
chore: workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
GayeongKimm committed Nov 1, 2024
1 parent 6962a27 commit 97fe976
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ jobs:
port: ${{ secrets.LINUX_SSH_PORT }}
script: |
docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}
docker stop dodamdodam
docker rm dodamdodam
docker rmi ${{ secrets.DOCKERHUB_USERNAME }}/dodamdodam:latest
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/dodamdodam:latest
docker run -d -p 33333:8080 -p 55555:8090 --name dodamdodam ${{ secrets.DOCKERHUB_USERNAME }}/dodamdodam:latest
docker network connect redis-net dodamdodam
docker stop dodamdodam-server || true
docker rm dodamdodam-server || true
docker rmi ${{ secrets.DOCKERHUB_USERNAME }}/dodamdodam-one:latest || true
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/dodamdodam-one:latest
docker run -d -p 33333:8080 -p 55555:8090 --name dodamdodam-server ${{ secrets.DOCKERHUB_USERNAME }}/dodamdodam-one:latest
docker network connect redis-net dodamdodam-server

0 comments on commit 97fe976

Please sign in to comment.