Skip to content

Commit

Permalink
bumping version, drone config
Browse files Browse the repository at this point in the history
  • Loading branch information
rusenask committed Feb 16, 2019
1 parent 178b0ce commit 9635255
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
kind: pipeline
name: default

steps:

- name: build
image: node:latest
commands:
- npm install

- name: publish
image: node:latest
environment:
NPM_TOKEN:
from_secret: npm_token
commands:
- make drone-publish
when:
event: [ tag ]


- name: slack
image: plugins/slack
when:
status: [ success, failure ]
settings:
webhook:
from_secret: slack_url
channel: general
username: drone
icon_url: https://i.pinimg.com/originals/51/29/a4/5129a48ddad9e8408d2757dd10eb836f.jpg
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# https://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules
drone-publish:
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
npm publish
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<a href="https://webhookrelay.com" rel="noopener" target="_blank"><img width="100"src="https://webhookrelay.com/images/sat_logo.png"></a>
</p>

[![Build Status](https://drone-kr.webrelay.io/api/badges/webhookrelay/node-red-contrib-webhookrelay/status.svg)](https://drone-kr.webrelay.io/webhookrelay/node-red-contrib-webhookrelay)

## Webhook Relay

`node-red-contrib-webhookrelay` package provides an easy way to receive webhooks without exposing whole Node-RED instance to the internet. Webhooks are received through public cloud endpoint and then are streamed over secure connections to your Node-RED.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-webhookrelay",
"version": "0.2.2",
"version": "0.2.3",
"description": "General purpose webhook tunnel-based receiver. Process 3rd party webhooks without public IP or configuring NAT/firewall",
"main": "webhookrelay/webhookrelay.js",
"scripts": {
Expand Down Expand Up @@ -28,6 +28,6 @@
},
"homepage": "https://github.com/webhookrelay/node-red-contrib-webhookrelay#readme",
"dependencies": {
"webhookrelay-ws-client": "^0.5.0"
"webhookrelay-ws-client": "^0.6.1"
}
}

0 comments on commit 9635255

Please sign in to comment.