morgan.mcmillian.dev/.woodpecker.yml
Morgan McMillian cc897956c4
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
test updated email settings
2023-08-10 17:00:57 -07:00

33 lines
765 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.address: woodpecker@clacks.network
from.name: Woodpecker CI
host: smtp.migadu.com
username:
from_secret: smtp_user
password:
from_secret: smtp_pass