Skip to content

Commit

Permalink
fix : edit scrtips
Browse files Browse the repository at this point in the history
  • Loading branch information
nonaninona committed Jan 1, 2024
1 parent 2057b2d commit c95a767
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
key: ${{ secrets.PRIVATE_KEY }}
port: ${{secrets.PORT}}
script: |
sudo docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} -p ${{ secrets.DOCKER_PWD }}
sudo docker rm -f $(sudo docker ps -qa)
sudo docker run -d --name server -p 8080:8080 chatdiary/chatdiary-image:latest
sudo docker ps
sudo docker pull chatdiary/chatdiary-image:latest
sudo docker run -d -p 8080:8080 chatdiary/chatdiary-image:latest
sudo docker image prune -f

0 comments on commit c95a767

Please sign in to comment.