From 009655fcfeff5e0e8150ad239e34d2a329dc75fc Mon Sep 17 00:00:00 2001 From: lizheming Date: Fri, 23 Mar 2018 09:55:56 +0800 Subject: [PATCH] update drone docs --- DOCS.md | 22 ---------------------- Dockerfile | 2 +- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/DOCS.md b/DOCS.md index 13ac69f..a4761f0 100644 --- a/DOCS.md +++ b/DOCS.md @@ -10,22 +10,6 @@ image: lizheming/drone-wechat The Wechat plugin posts build status messages to your account. The below pipeline configuration demonstrates simple usage: -```diff -pipline: - wechat: - image: lizheming/drone-wechat -+ sckey: xxxxxx - title: ${DRONE_REPO_NAME} - message: > - {%if success %} - build {{build.number}} succeeded. Good job. - {% else %} - build {{build.number}} failed. Fix me please. - {% endif %} -``` - -If you want push notification with your own wechat corp id, you can config like this: - ```diff pipeline: wechat: @@ -77,9 +61,6 @@ msg_url btn_text : The text for the button on the card -sckey -: SCKEY get from [ServerChan](http://sc.ftqq.com) - title : Notification title @@ -106,9 +87,6 @@ wechat\_to\_user wechat\_to\_tag : The tag ids to send the message to -wechat_sckey -: SCKEY get from [ServerChan](http://sc.ftqq.com) - # Template Reference repo.owner diff --git a/Dockerfile b/Dockerfile index 610290a..83c28b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM mhart/alpine-node:8.9.3 LABEL maintainer="lizheming " \ org.label-schema.name="Drone Wechat Notification" \ org.label-schema.vendor="lizheming" \ - org.label-schema.schema-version="1.1.0" + org.label-schema.schema-version="1.2.0" WORKDIR /wechat COPY package.json /wechat/package.json