Protect private key
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
8d2b7ee342
commit
199f07d0dd
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue