Skip to content

Commit

Permalink
추가: action 고침
Browse files Browse the repository at this point in the history
  • Loading branch information
rrosiee committed Jun 1, 2024
1 parent 5777975 commit 05479b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
key: ${{ secrets.KEY }}
envs: GITHUB_SHA
script: |
sudo docker stop ticats
sudo docker rm ticats
sudo docker image rm gabang2/ticats:latest
sudo docker pull gabang2/ticats:latest
sudo docker run -d -p 8080:8080 --name ticats ${{ secrets.DOCKER_ENV }} gabang2/ticats:latest
sudo docker stop ticats || true
sudo docker rm ticats || true
sudo docker image rm ${{ secrets.DOCKER_USERNAME }}/ticats:latest || true
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/ticats:latest
sudo docker run -d -p 8080:8080 --name ticats ${{ secrets.DOCKER_ENV }} ${{ secrets.DOCKER_USERNAME }}/ticats:latest

0 comments on commit 05479b5

Please sign in to comment.