2021-03-03 15:24:46 +01:00
|
|
|
---
|
|
|
|
hooks:
|
|
|
|
hook1:
|
2021-03-21 15:51:58 +01:00
|
|
|
command: /usr/bin/local/script_xy.sh {{ /field2/foo }} asdfasdf
|
2021-03-19 10:16:46 +01:00
|
|
|
secrets:
|
|
|
|
- secret_key_01
|
|
|
|
- secret_key_02
|
2021-03-03 15:24:46 +01:00
|
|
|
filters:
|
|
|
|
match_ref:
|
2021-03-19 10:16:46 +01:00
|
|
|
pointer: /ref
|
|
|
|
regex: refs/heads/master
|
2021-03-03 15:24:46 +01:00
|
|
|
hook2:
|
2021-03-21 15:51:58 +01:00
|
|
|
command: /usr/bin/local/script_xy.sh asdfasdf
|
|
|
|
secrets:
|
|
|
|
- secret_key_01
|
|
|
|
- secret_key_02
|
|
|
|
filters:
|
|
|
|
match_ref:
|
|
|
|
pointer: /ref
|
|
|
|
regex: refs/heads/master
|
|
|
|
hook3:
|
|
|
|
command: /usr/bin/local/script_xyz.sh
|
2021-03-19 10:16:46 +01:00
|
|
|
secrets:
|
|
|
|
- secret_key03
|
2021-03-03 15:24:46 +01:00
|
|
|
filters:
|
|
|
|
match_ref:
|
2021-03-19 10:16:46 +01:00
|
|
|
pointer: /ref
|
|
|
|
regex: refs/heads/master
|
2021-03-03 15:24:46 +01:00
|
|
|
match_after:
|
2021-03-19 10:16:46 +01:00
|
|
|
pointer: /after
|
|
|
|
regex: f6e5fe4fe37df76629112d55cc210718b6a55e7e
|