fix:
All checks were successful
ci / build (push) Successful in 1m48s

This commit is contained in:
han0
2025-10-13 17:05:22 +08:00
parent 2928113441
commit 80e14644d8

View File

@@ -44,7 +44,7 @@ jobs:
chmod 600 ~/.ssh/id_rsa
ssh -o StrictHostKeyChecking=no root@$DEPLOY_TEST_HOST_IP "mkdir -p $DEPLOY_PATH"
ssh root@$DEPLOY_TEST_HOST_IP "rm -f $DEPLOY_PATH/**"
ssh root@$DEPLOY_TEST_HOST_IP "rm -rf $DEPLOY_PATH/**"
scp -r ./** root@$DEPLOY_TEST_HOST_IP:$DEPLOY_PATH/
ssh root@$DEPLOY_TEST_HOST_IP "cd $DEPLOY_PATH && docker compose up -d --force-recreate"