Commit 96e4e1a3 authored by fredix's avatar fredix
Browse files

update readme

parent 6721e400
# 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
......@@ -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")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment