From aaebb75383b6da45dfd966063cc383ab6575435d Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Thu, 22 Feb 2024 23:32:43 -0500 Subject: [PATCH] Improve .woodpecker.yaml Signed-off-by: Sergio Durigan Junior --- .woodpecker.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 8453458..ebda5b0 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -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:.