From 199f07d0dd4571418d743df8d82e016ea28240c5 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sat, 24 Feb 2024 21:37:50 -0500 Subject: [PATCH] Protect private key --- .woodpecker.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index b31fa46..eeea552 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -8,6 +8,7 @@ steps: - mkdir ~/.ssh - printf '%s\n' "$${SSH_KEY}" > ~/.ssh/id_rsa - chmod 0700 ~/.ssh + - chmod 0600 ~/.ssh/id_rsa - /usr/bin/hugo --verbose - /usr/bin/rsync --verbose --compress --archive --recursive --progress --checksum --delete