Giter VIP home page Giter VIP logo

drone-wechat-robot's Introduction

Drone的企业微信通知插件

The WeChat for Work Robot notifications for Drone plugin. You can reference the doc to know how to use it.

Build

Docker Image CI

> $ sh build.sh

Usage

使用内置模版。 目前支持2种模版: defaultsimple.


- name: notify
  image: akayj/drone-wechat-robot
  settings:
    key:
      from_secret: wechat_robot_key
    msgtype: markdown.template
    template_name: default # `default` 是默认值
  when:
    status:
    - success
    - failure

简单模式(simple):

simple

默认模式(default):

default

使用自定义模版


- name: notify
  image: akayj/drone-wechat-robot
  settings:
    key:
      from_secret: wechat_robot_key
    msgtype: markdown.template
    content: "Build status: {{ .Build.Status }}" # 参考 `metadata.go`
  when:
    status:
    - success
    - failure

结果: Build status: success

drone-wechat-robot's People

Contributors

akayj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.