GithubHelp home page GithubHelp logo

pushdeerdrone's Introduction

Drone pushDeer plugin

The result of the plug-in is a message that the bot will send you.:

自动化部署成功

🏠仓库:api

⭕版本:1

🎅提交者:hongzx

🕙耗时:0分3秒

📖提交分支:master

📃提交信息:通知

Variables

  • url - You sender address Example format : https://api2.pushdeer.com/message/push - Required
  • pushkey - Your equipment token - Required
  • type - Support send type : text、image、markdown - Required
  • content - Send Content

Example pipeline

kind: pipeline
name: project-go-api

steps:
  - name: build
    image: golang:latest
    pull: if-not-exists
    environment:
      GOPROXY: "https://goproxy.cn,direct" 
    volumes:
      - name: pkgdeps
        path: /go/pkg
    commands:
      - CGO_ENABLED=0 go build -o project-go-api
      
  - name: pushdeer
    image: hongzhuangxian/pushdeer-drone-plugin
    settings:
      pushkey: your pushkey 
      url: https://api2.pushdeer.com/message/push
      type: text

Build packed:

set GOOS=linux
set GOARCH=amd64
set CGO_ENABLED=0
go build -o pushdeer-drone-plugin

Build image:

docker build -t hongzhuangxian/pushdeer-drone-plugin .

Push image:

docker push hongzhuangxian/pushdeer-drone-plugin

pushdeerdrone's People

Contributors

fblmg 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.