fix(ci): remove SSH debug verbose, use simple test
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 0s
CI/CD Pipeline / Frontend Lint (push) Failing after 27s
Tests / test (push) Failing after 0s
Tests / lint (push) Failing after 0s
Deploy / Build Production Runtime Images (push) Waiting to run
Deploy / Deploy Staging (push) Has been skipped
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled

This commit is contained in:
2026-06-29 03:42:13 +08:00
parent 749caafe37
commit dd99702f99
+1 -4
View File
@@ -155,10 +155,7 @@ jobs:
ls -la "$key_path"
test -f "$key_path" || { echo "ERROR: SSH key not found"; exit 1; }
ssh-keyscan -H "$production_host" >> ~/.ssh/known_hosts
echo "SSH key fingerprint:"
ssh-keygen -lf "$key_path" || true
echo "Testing SSH connection:"
ssh -vvv -i "$key_path" -o BatchMode=yes -o StrictHostKeyChecking=no "$production_user@$production_host" "echo SSH_OK" 2>&1 | tail -30 || true
ssh -i "$key_path" -o BatchMode=yes -o StrictHostKeyChecking=no "$production_user@$production_host" "echo SSH_OK" || { echo "SSH FAILED"; exit 1; }
scp -i "$key_path" "dist/release-images/xiaoxia-runtime-images-${GITHUB_REF_NAME}.tar" \
"$production_user@$production_host:/var/lib/xiaoxia-saas-production/runtime-images-${GITHUB_REF_NAME}.tar"
scp -i "$key_path" "dist/release-artifacts/xiaoxia-release-${GITHUB_REF_NAME}.tar.gz" \