plugin-gotify/entrypoint.sh
Torjus Håkestad 34f9c49d54
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Update entrypoint
2022-01-10 13:46:24 +01:00

6 lines
205 B
Bash
Executable File

#!/bin/sh
set -xe
# 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"