feat: use env var for matrix hook settings
This commit is contained in:
parent
041b70319e
commit
00f7736641
1 changed files with 1 additions and 3 deletions
|
@ -82,9 +82,7 @@ cleanup () {
|
|||
}
|
||||
|
||||
send_matrix () {
|
||||
key="***REMOVED***"
|
||||
room_id="***REMOVED***"
|
||||
${CURL} -skd "{\"body\": \"$1\"}" http://192.168.0.101:4785/\?key\=$key\&room_id\=$room_id > /dev/null
|
||||
${CURL} -skd "{\"body\": \"$1\"}" http://192.168.0.101:4785/\?key\=$MATRIX_HOOK_KEY\&room_id\=$MATRIX_HOOK_ROOMID > /dev/null
|
||||
}
|
||||
|
||||
notify () {
|
||||
|
|
Loading…
Add table
Reference in a new issue