Protect private key
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Sergio Durigan Junior 2024-02-24 21:37:50 -05:00
parent 8d2b7ee342
commit 199f07d0dd

View file

@ -8,6 +8,7 @@ steps:
- mkdir ~/.ssh - mkdir ~/.ssh
- printf '%s\n' "$${SSH_KEY}" > ~/.ssh/id_rsa - printf '%s\n' "$${SSH_KEY}" > ~/.ssh/id_rsa
- chmod 0700 ~/.ssh - chmod 0700 ~/.ssh
- chmod 0600 ~/.ssh/id_rsa
- /usr/bin/hugo --verbose - /usr/bin/hugo --verbose
- /usr/bin/rsync --verbose --compress --archive --recursive - /usr/bin/rsync --verbose --compress --archive --recursive
--progress --checksum --delete --progress --checksum --delete