morgan.mcmillian.dev/.woodpecker.yml
Morgan McMillian dbcfc3ac5b
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
update build notifications and remove Jenkinsfile
2023-03-09 13:50:44 -08:00

34 lines
776 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 openssh
- printf "$SSH_KEY" > privateKey
- chmod 600 privateKey
- ansible-playbook --user igor --inventory hosts.ini --private-key privateKey main.yaml
notify:
image: deblan/woodpecker-email
settings:
from: woodpecker@clacks.network
host: smtp.migadu.com
username:
from_secret: smtp_user
password:
from_secret: smtp_pass
recipients:
- morgan@clacks.network