gotify-action/entrypoint.sh
2020-03-31 20:09:22 +02:00

6 lines
217 B
Bash
Executable file

#!/usr/bin/env sh
curl "$INPUT_GOTIFY_API_BASE/message?token=$INPUT_GOTIFY_APP_TOKEN" \
-F "title=$INPUT_NOTIFICATION_TITLE" \
-F "message=$INPUT_NOTIFICATION_MESSAGE" \
-F "priority=$INPUT_NOTIFICATION_PRIORITY"