feat: use env var for matrix hook settings

This commit is contained in:
Alex Kelly 2023-01-17 09:23:06 -05:00
parent 041b70319e
commit 00f7736641

View file

@ -82,9 +82,7 @@ cleanup () {
} }
send_matrix () { send_matrix () {
key="***REMOVED***" ${CURL} -skd "{\"body\": \"$1\"}" http://192.168.0.101:4785/\?key\=$MATRIX_HOOK_KEY\&room_id\=$MATRIX_HOOK_ROOMID > /dev/null
room_id="***REMOVED***"
${CURL} -skd "{\"body\": \"$1\"}" http://192.168.0.101:4785/\?key\=$key\&room_id\=$room_id > /dev/null
} }
notify () { notify () {