From d30ef87ccd8ebc1899f2d8dc8985aebee22776fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Mon, 30 Mar 2026 13:17:07 +0800 Subject: [PATCH] fix: resolve YAML parsing error in CI configuration Problem: - YAML parser incorrectly interpreted as map structure - Caused 'cannot unmarshal' error in pipeline #72 Solution: - Wrap echo commands with single quotes to prevent YAML parsing issues - Ensure proper command execution in CI environment --- .woodpecker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 1ba17e4..eb55550 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -132,8 +132,8 @@ steps: - ls -la dist/ - echo "Deploying to production" - mkdir -p ~/.ssh - - echo "SSH key length: $(echo $SSH_PRIVATE_KEY | wc -c)" - - echo "First 50 chars of SSH key: $(echo $SSH_PRIVATE_KEY | cut -c1-50)" + - 'echo "SSH key length: $(echo $SSH_PRIVATE_KEY | wc -c)"' + - 'echo "First 50 chars of SSH key: $(echo $SSH_PRIVATE_KEY | cut -c1-50)"' - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - echo "SSH key file created, checking permissions:"