Improve .woodpecker.yaml

Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
This commit is contained in:
Sergio Durigan Junior 2024-02-22 23:32:43 -05:00
parent 39d8a66fc3
commit aaebb75383

View file

@ -8,9 +8,8 @@ steps:
- mkdir ~/.ssh
- printf '%s\n' "$${SSH_KEY}" > ~/.ssh/id_rsa
- chmod 0700 ~/.ssh
- find .
# - /usr/bin/rsync --verbose --compress --archive --recursive \
# --progress --checksum --delete \
# --rsh="/usr/bin/ssh \
# -p $${SSH_PORT} -o StrictHostKeyChecking=no" \
# public/ blog@sergiodj.net:.
- /usr/bin/hugo --verbose
- /usr/bin/rsync --verbose --compress --archive --recursive \
--progress --checksum --delete \
--rsh="/usr/bin/ssh -p $${SSH_PORT} -o StrictHostKeyChecking=no" \
public/ blog@sergiodj.net:.