This commit is contained in:
parent
a601ddcf80
commit
17c0e49337
1 changed files with 15 additions and 0 deletions
15
.woodpecker.yml
Normal file
15
.woodpecker.yml
Normal 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
|
Loading…
Reference in a new issue