test-proj/.woodpecker.yml
Morgan McMillian a3e0aabff0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
adjust from address
2023-03-09 13:35:58 -08:00

27 lines
723 B
YAML

pipeline:
test:
image: alpine:latest
secrets: [ ssh_key ]
environment:
- ANSIBLE_PRIVATE_KEY=$SSH_KEY
- ANSIBLE_HOST_KEY_CHECKING=False
commands:
- apk add --update ansible
- printf "$SSH_KEY" > /tmp/privateKey
- chmod 600 /tmp/privateKey
- sha256sum /tmp/privateKey
- ansible-playbook --user igor --inventory hosts.ini --private-key /tmp/privateKey main.yml
notify:
image: deblan/woodpecker-email
settings:
from.address: srv@clacks.network
from.name: "woodpecker-ci"
host: smtp.migadu.com
username:
from_secret: smtp_user
password:
from_secret: smtp_pass
recipients:
- morgan@clacks.network