mirror of
https://github.com/lizheming/drone-wechat.git
synced 2026-07-16 16:11:10 +08:00
1.8 KiB
1.8 KiB
drone-wechat
drone 微信消息通知插件。
简介
基于 http://sc.ftqq.com/ 封装的 drone 微信消息通知插件。使用前需要去 Server酱 获取密钥。Github 登录后即可在 发送消息 页面查看。
配置说明
PLUGIN_SCKEY: SCKEY get from ServerChanPLUGIN_TITLE: Notification titlePLUGIN_MESSAGE: Notification body message, support markdown.
如何使用
docker run --rm \
-e PLUGIN_SCKEY=xxxx \
-e PLUGIN_TITLE=xxxx \
-e PLUGIN_MESSAGE=xxx \
-e DRONE_REPO_OWNER=lizheming \
-e DRONE_REPO_NAME=drone-wechat \
-e DRONE_COMMIT_SHA=e5e82b5eb3737205c25955dcc3dcacc839b7be52 \
-e DRONE_COMMIT_BRANCH=master \
-e DRONE_COMMIT_LINK=https://github.com/lizheming/drone-wechat/compare/master... \
-e DRONE_COMMIT_AUTHOR=lizheming \
-e DRONE_COMMIT_AUTHOR_EMAIL=secretlzm007@gmail.com \
-e DRONE_BUILD_NUMBER=1 \
-e DRONE_BUILD_STATUS=success \
-e DRONE_BUILD_LINK=http://github.com/lizheming/drone-wechat \
-e DRONE_TAG=1.0.0 \
-e DRONE_JOB_STARTED=1477550550 \
-e DRONE_JOB_FINISHED=1477550750 \
lizheming/drone-wechat