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")