plugin-gotify/entrypoint.sh
2022-01-10 13:33:06 +01:00

4 lines
196 B
Bash
Executable File

#!/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"