diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..8453458 --- /dev/null +++ b/.woodpecker.yaml @@ -0,0 +1,16 @@ +steps: + - name: build + image: debian:testing-slim + secrets: [ ssh_key, ssh_port ] + commands: + - apt-get update + - apt-get install -y hugo rsync openssh-client + - 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:.