From f588856b764d9134cb63f4e05bf589efe94b2a94 Mon Sep 17 00:00:00 2001 From: Umputun Date: Tue, 9 Jan 2018 18:39:19 -0600 Subject: [PATCH] try to integrate mailgun --- .drone.yml | 10 +++++----- app/main.go | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7501a1a6..a4d183f4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,12 +31,12 @@ pipeline: notify: image: drillster/drone-email - host: 172.17.0.1 + host: 184.173.153.194 port: 25 - username: umputun - password: umputun - skip_verify: true - from: drone@umputun.com + username: email_username + password: email_password + from: drone@mg.umputun.com recipients: [ umputun@gmail.com ] + secrets: [ email_username, email_password ] when: status: [ changed, failure ] diff --git a/app/main.go b/app/main.go index 4c7cff7e..6f583fa2 100644 --- a/app/main.go +++ b/app/main.go @@ -51,7 +51,7 @@ var opts struct { var revision = "unknown" func main() { - fmt.Printf("remark %s\n", revision) + fmt.XPrintf("remark %s\n", revision) p := flags.NewParser(&opts, flags.Default) if _, e := p.ParseArgs(os.Args[1:]); e != nil { os.Exit(1)