Browse Source

drone notify email(4)

luis 7 years ago
parent
commit
1ef4c395e5
1 changed files with 1 additions and 4 deletions
  1. 1 4
      .drone.yml

+ 1 - 4
.drone.yml

@@ -12,10 +12,7 @@ pipeline:
     image: golang
     image: golang
     environment:
     environment:
       - GOPATH=/app/go/deps:/app/go
       - GOPATH=/app/go/deps:/app/go
-      - EMAIL_PASSWORD=$$EMAIL_PASSWORD
     commands: 
     commands: 
-      - echo ${EMAIL_PASSWORD}
-      - echo $EMAIL_PASSWORD
       - go get github.com/axw/gocov/gocov
       - go get github.com/axw/gocov/gocov
       - go get -d ./go/src/...
       - go get -d ./go/src/...
       - go get -d -t ./go/src/...
       - go get -d -t ./go/src/...
@@ -46,8 +43,8 @@ pipeline:
     host: mail.hexasoftware.com
     host: mail.hexasoftware.com
     skip_verify: true
     skip_verify: true
     username: drone@hexasoftware.com
     username: drone@hexasoftware.com
-    password: $$EMAIL_PASSWORD
     from: drone@hexasoftware.com
     from: drone@hexasoftware.com
+    secrets: [email_password]
     when:
     when:
       status: [ changed, failure, success ]
       status: [ changed, failure, success ]