morgan.mcmillian.dev/.woodpecker.yml

36 lines
717 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
2023-03-08 22:30:02 +00:00
secrets: [ blarp, igor_key ]
2023-03-08 21:52:25 +00:00
commands:
2023-03-08 22:18:13 +00:00
- echo $igor_key > /tmp/test1
- echo $IGOR_KEY > /tmp/test2
- cat /tmp/test1
- cat /tmp/test2
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