From c531a68af4de82b9c2ac808220c388945ca76cf2 Mon Sep 17 00:00:00 2001 From: afcfzf <9301462@qq.com> Date: Wed, 14 Feb 2024 23:32:02 +0800 Subject: [PATCH] fix: done --- .github/workflows/deplay.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deplay.yml b/.github/workflows/deplay.yml index 9308afc..dfe3190 100644 --- a/.github/workflows/deplay.yml +++ b/.github/workflows/deplay.yml @@ -70,7 +70,7 @@ jobs: echo 结果: ${{ secrets.SWR_DOCKER_PATH }}:${{ env.GIT_HASH_SHORT }} docker pull ${{ secrets.SWR_DOCKER_PATH }}:${{ env.GIT_HASH_SHORT }} docker ps -q --filter "name=server-demo-container" | xargs -r docker stop - docker ps -aq --filter "name=server-demo-container" | xargs -r docker rm + docker ps -aq --filter "name=server-demo-container" | xargs -r docker rm -f docker run -d -p 8080:8080 --name=server-demo-container --restart=always ${{ secrets.SWR_DOCKER_PATH }}:${{ env.GIT_HASH_SHORT }}