Skip to content

Commit

Permalink
bug 修复
Browse files Browse the repository at this point in the history
  • Loading branch information
pakizheng committed Jan 11, 2024
1 parent 92d4a48 commit 5110605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: |
sudo apt-get install -y sshpass
sshpass -p "$SERVER_PASSWORD" ssh -o StrictHostKeyChecking=no root@${{ secrets.SERVER_ID }} "
if docker ps -a --format '{{ '{{' }}.Names{{ '}}' }}' | grep -w 'im-web'; then
if docker ps -a --format "{{.Names}}" | grep -w "im-web"; then
docker stop im-web
docker rm im-web
fi
Expand Down

0 comments on commit 5110605

Please sign in to comment.