gotify-action/entrypoint.sh

7 lines
217 B
Bash
Raw Normal View History

2020-03-31 19:22:19 +02:00
#!/usr/bin/env sh
2020-03-31 20:09:22 +02:00
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"