notify

command module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

README

notify

解决 gitlab ci 无法主动发送邮件的问题

安装

go get github.com/hellojukay/notify

gitlab pipeline 设置如下

stages:
  - notify
  
send email:
  stage: notify
  image: hellojukay/email:1.0.2
  script:
    # 发送邮件的代码参考 https://github.com/hellojukay/notify
    - notify -smtp-port=587 -smtp-server=mail.xxx.com -smtp-user=$EMAIL_USER  -to=$RECEIVER -smtp-pass=$EMAAL_PASS -path=email.html

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL