plugin-gotify/entrypoint.sh

6 lines
205 B
Bash
Raw Normal View History

2022-01-10 12:33:06 +00:00
#!/bin/sh
2022-01-10 12:46:24 +00:00
set -xe
2022-01-10 12:33:06 +00:00
# TODO: Verify that variables are set properly
2022-01-10 12:46:24 +00:00
curl "${PLUGIN_GOTIFY_URL}/message?token=${PLUGIN_GOTIFY_TOKEN}" -F "title=${PLUGIN_TITLE}" -F "message=${PLUGIN_MESSAGE}" -F "priority=5"