From 96e4e1a36ab1a3c0fd4d93ce56b55d392d006d8f Mon Sep 17 00:00:00 2001 From: fredix Date: Sun, 9 Jun 2019 14:52:41 +0200 Subject: [PATCH] update readme --- README.md | 11 +++++++++-- drone-gotify.go | 3 --- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7919b8f..36cee19 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,16 @@ # drone-gotify -environment variables : +## documentations + +https://gotify.net/docs/more-pushmsg#golang +https://docs.drone.io/plugins/examples/golang/ + +## environment variables : -PLUGIN_ENDPOINT=https://gotify.server +``` +PLUGIN_ENDPOINT=https://gotify.server.tld PLUGIN_TOKEN=APPLICATION_TOKEN PLUGIN_TITLE="from drone-gotify" PLUGIN_MESSAGE="test" PLUGIN_PRIORITY=5 +``` \ No newline at end of file diff --git a/drone-gotify.go b/drone-gotify.go index e4ffe70..9300962 100644 --- a/drone-gotify.go +++ b/drone-gotify.go @@ -7,9 +7,6 @@ import ( "log" ) -// https://gotify.net/docs/more-pushmsg#golang -// https://docs.drone.io/plugins/examples/golang/ - func main() { token := os.Getenv("PLUGIN_TOKEN") endpoint := os.Getenv("PLUGIN_ENDPOINT")