morgan.mcmillian.dev/.woodpecker.yml
Morgan McMillian 248421aabe
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
revert from address setting
2023-08-10 17:05:19 -07:00

32 lines
726 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