try to integrate mailgun
This commit is contained in:
+5
-5
@@ -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 ]
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user