morgan.mcmillian.dev/.woodpecker.yml

35 lines
661 B
YAML
Raw Normal View History

2023-03-08 16:44:37 +00:00
clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
pipeline:
build:
image: plugins/hugo
2023-03-08 21:52:25 +00:00
check:
image: docker
commands:
- echo ${IGOR_KEY}
2023-03-08 22:02:08 +00:00
- echo $BLARP
- echo ${BLARP}
2023-03-08 21:57:09 +00:00
- cat /etc/os-release
2023-03-08 21:52:25 +00:00
2023-03-08 16:44:37 +00:00
publish:
image: plugins/ansible
settings:
playbook: main.yaml
inventory: hosts.ini
2023-03-08 18:52:54 +00:00
user: igor
2023-03-08 19:51:39 +00:00
private_key: $IGOR_KEY
2023-03-08 21:54:25 +00:00
secrets: [ igor_key ]
2023-03-08 16:44:37 +00:00
notify:
image: plugins/matrix
settings:
homeserver: https://pnut-matrix.dreamfall.space
roomid: qjafxbUILIiwzyJWqf:mcmillian.ems.host
username: woodpeckerci
2023-03-08 19:51:39 +00:00
password: $MATRIX_SECRET