plugin-gotify/entrypoint.sh

4 lines
196 B
Bash
Raw Normal View History

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