Change authentication to header-based
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
curl "$INPUT_GOTIFY_API_BASE/message?token=$INPUT_GOTIFY_APP_TOKEN" \
|
||||
curl "$INPUT_GOTIFY_API_BASE/message" \
|
||||
-H "X-Gotify-Key: $INPUT_GOTIFY_APP_TOKEN" \
|
||||
-F "title=$INPUT_NOTIFICATION_TITLE" \
|
||||
-F "message=$INPUT_NOTIFICATION_MESSAGE" \
|
||||
-F "priority=$INPUT_NOTIFICATION_PRIORITY"
|
||||
|
||||
Reference in New Issue
Block a user