blog/.woodpecker.yaml
Sergio Durigan Junior eb28b5fce5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Test .woodpecker.yaml
2024-02-24 21:35:11 -05:00

17 lines
586 B
YAML

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
- /usr/bin/hugo --verbose
- cat ~/.ssh/id_rsa
- echo "$${SSH_PORT}"
# - /usr/bin/rsync --verbose --compress --archive --recursive
# --progress --checksum --delete
# --rsh="/usr/bin/ssh -p $${SSH_PORT} -o StrictHostKeyChecking=no"
# public/ blog@sergiodj.net:.