Coder Social home page Coder Social logo

gitlab-robot-workwechat's Introduction

gitLab-robort-workwechat

通过云函数创建一个企业微信机器人

  1. git clone https://github.com/ydCao/gitLab-robot-workwechat.git

  2. 企业微信拉个群,添加一个机器人,你会得到一些机器人的信息。见图,保留这个key!

  3. 注册并登陆腾讯云管理后台,新建一个云函数,可以先选个Node的Helloworld模板

  4. 将代码中的cloudGitLab目录上传,如图

  5. 点击保存(保存后测试一下)

  6. 选择触发方式,添加新的触发方式,类型选择API网关,保存后得到url

  1. ok!可以填到GitLab的webhook里了,类型选择Send me everything,也可以自定义,url填上上面的url,别忘了要在后面加上?id={你创建的微信机器人id}作为参数

  2. github和gitlab实现方式有些区别。请点击这里本项目在此基础上实现,再次表示感谢。

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.