2021-03-03 15:24:46 +01:00
|
|
|
---
|
|
|
|
hooks:
|
|
|
|
hook1:
|
2021-03-19 10:16:46 +01:00
|
|
|
action: /usr/bin/local/script_xy.sh
|
|
|
|
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-19 10:16:46 +01:00
|
|
|
action: /usr/bin/local/script_xyz.sh
|
|
|
|
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
|