command
module
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Nov 16, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.