Skip to content

Commit

Permalink
Update work.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gkfktkrh153 authored Jan 17, 2024
1 parent 6b887dd commit 86e0f58
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/work.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ jobs:
key: ${{ secrets.SSH_KEY }}
port: 22
script: |
docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} -p ${{ secrets.DOCKER_HUB_PASSWORD }}
docker stop trip_app || true
docker rm trip_app || true
docker pull ${{ secrets.DOCKER_REPO }}/trip
docker run --name=trip_app --restart unless-stopped \
sudo docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} -p ${{ secrets.DOCKER_HUB_PASSWORD }}
sudo docker stop trip_app || true
sudo docker rm trip_app || true
sudo docker pull ${{ secrets.DOCKER_REPO }}/trip
sudo docker run --name=trip_app --restart unless-stopped \
-p 8080:8080 -e TZ=Asia/Seoul -d ${{ secrets.DOCKER_REPO }}/trip

0 comments on commit 86e0f58

Please sign in to comment.