Housekeeping of example config and readme
Update readme to current state and rename the example config to prevent confusion.
This commit is contained in:
parent
0610fd49c9
commit
b05acf9c72
2 changed files with 2 additions and 3 deletions
31
config.yml.example
Normal file
31
config.yml.example
Normal file
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
hooks:
|
||||
hook1:
|
||||
command: /usr/bin/local/script_xy.sh {{ /field2/foo }} asdfasdf
|
||||
secrets:
|
||||
- secret_key_01
|
||||
- secret_key_02
|
||||
filters:
|
||||
match_ref:
|
||||
pointer: /ref
|
||||
regex: refs/heads/master
|
||||
hook2:
|
||||
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
|
||||
secrets:
|
||||
- secret_key03
|
||||
filters:
|
||||
match_ref:
|
||||
pointer: /ref
|
||||
regex: refs/heads/master
|
||||
match_after:
|
||||
pointer: /after
|
||||
regex: f6e5fe4fe37df76629112d55cc210718b6a55e7e
|
Loading…
Add table
Add a link
Reference in a new issue