morgan.mcmillian.dev/.woodpecker.yml
Morgan McMillian 5932feccc4
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
add rsync package to publish pipeline
2023-03-09 10:41:01 -08:00

32 lines
735 B
YAML

clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
pipeline:
build:
image: plugins/hugo
settings:
validate: true
publish:
image: alpine:latest
secrets: [ ssh_key ]
environment:
- ANSIBLE_HOST_KEY_CHECKING=False
commands:
- apk add --update ansible rsync
- printf "$SSH_KEY" > privateKey
- chmod 600 privateKey
- ansible-playbook --user igor --inventory hosts.ini --private-key privateKey main.yaml
notify:
image: plugins/matrix
settings:
homeserver: https://pnut-matrix.dreamfall.space
roomid: qjafxbUILIiwzyJWqf:mcmillian.ems.host
username: woodpeckerci
password:
from_secret: matrix_secret