mirror of
https://github.com/lizheming/drone-wechat.git
synced 2026-06-04 18:33:46 +08:00
faa6cefaea78a31263c709d6e6199b330f6453ba
drone-wechat
Drone plugin for sending telegram notifications.
Description
This drone wechat notification plugin builds base on ServerChan. Before using you should login to ServerChan to get SCKEY. After login with Github account you can get SCKEY at http://sc.ftqq.com/?c=code.
Read this in other languages: English, 简体中文.
Environment
PLUGIN_SCKEY: SCKEY get from ServerChanPLUGIN_TITLE: Notification titlePLUGIN_MESSAGE: Notification body message, support markdown.
Usage
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
Languages
JavaScript
93.7%
Dockerfile
6.3%