1
0
Fork 0

Initial .woodpecker.yaml
ci/woodpecker/manual/woodpecker Pipeline was successful Details

Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
This commit is contained in:
Sergio Durigan Junior 2024-02-22 23:24:23 -05:00
parent 0a908d134a
commit 39d8a66fc3
1 changed files with 16 additions and 0 deletions

16
.woodpecker.yaml Normal file
View File

@ -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:.