add woodpecker CI
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
LordMZTE 2023-07-22 22:00:55 +02:00
parent a601ddcf80
commit 17c0e49337
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

15
.woodpecker.yml Normal file
View file

@ -0,0 +1,15 @@
pipeline:
build:
image: jauderho/zola:latest
commands:
- zola build
upload:
image: alpine
secrets: [ ssh_key ]
commands:
- apk add openssh rsync
- mkdir -p ~/.ssh
- echo "$SSH_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- rsync -e 'ssh -p 22004 -o StrictHostKeychecking=no' -a --delete ./public/ www-ci@mzte.de:/var/www/html