35 lines
717 B
YAML
35 lines
717 B
YAML
clone:
|
|
git:
|
|
image: woodpeckerci/plugin-git
|
|
settings:
|
|
recursive: true
|
|
|
|
pipeline:
|
|
build:
|
|
image: plugins/hugo
|
|
|
|
check:
|
|
image: docker
|
|
secrets: [ blarp, igor_key ]
|
|
commands:
|
|
- echo $igor_key > /tmp/test1
|
|
- echo $IGOR_KEY > /tmp/test2
|
|
- cat /tmp/test1
|
|
- cat /tmp/test2
|
|
|
|
publish:
|
|
image: plugins/ansible
|
|
settings:
|
|
playbook: main.yaml
|
|
inventory: hosts.ini
|
|
user: igor
|
|
private_key: $IGOR_KEY
|
|
secrets: [ igor_key ]
|
|
|
|
notify:
|
|
image: plugins/matrix
|
|
settings:
|
|
homeserver: https://pnut-matrix.dreamfall.space
|
|
roomid: qjafxbUILIiwzyJWqf:mcmillian.ems.host
|
|
username: woodpeckerci
|
|
password: $MATRIX_SECRET
|