Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hysong4u authored Aug 24, 2024
1 parent 6b6f021 commit 0b74bdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
docker pull hysong4u/huranit-server:latest
existing_container_id=$(sudo docker ps -q --filter "publish=8081")
[ -n "$existing_container_id" ] && sudo docker stop $existing_container_id && sudo docker rm $existing_container_id
sudo docker image prune -f
docker run -d -p 8081:8081 hysong4u/huranit-server:latest
EOF
Expand Down

0 comments on commit 0b74bdf

Please sign in to comment.