diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 2136b0b..58ccec1 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -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"