morgan.mcmillian.dev/.woodpecker.yml
Morgan McMillian 3895387b8a
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
update to build and publish pipelines
2023-03-09 10:34:40 -08:00

31 lines
729 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
- 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