From a683321d92b87ce8092b83ca8b45719531ed469b Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Tue, 3 Mar 2026 01:30:01 +0800 Subject: [PATCH] fix: remove chmod on read-only mounted preload key Drop chmod on the read-only mounted server2 SSH key so preload can execute without failing the workflow before the SSH attempt. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/deploy-claude-dev-dev.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitea/workflows/deploy-claude-dev-dev.yml b/.gitea/workflows/deploy-claude-dev-dev.yml index c518716..9618dcc 100644 --- a/.gitea/workflows/deploy-claude-dev-dev.yml +++ b/.gitea/workflows/deploy-claude-dev-dev.yml @@ -57,7 +57,6 @@ jobs: if: env.ROLLBACK_ONLY == '0' run: | set -euo pipefail - chmod 600 /runner-ssh/server2_key if ssh -i /runner-ssh/server2_key -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new jimmyg@158.101.140.85 "podman pull docker.io/library/node:20-bookworm-slim >/dev/null && podman save docker.io/library/node:20-bookworm-slim" | docker load; then echo "Preloaded node:20-bookworm-slim from server2" else