Skip to content

Commit 9635255

Browse files
committed
bumping version, drone config
1 parent 178b0ce commit 9635255

File tree

4 files changed

+39
-2
lines changed

4 files changed

+39
-2
lines changed

.drone.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
kind: pipeline
2+
name: default
3+
4+
steps:
5+
6+
- name: build
7+
image: node:latest
8+
commands:
9+
- npm install
10+
11+
- name: publish
12+
image: node:latest
13+
environment:
14+
NPM_TOKEN:
15+
from_secret: npm_token
16+
commands:
17+
- make drone-publish
18+
when:
19+
event: [ tag ]
20+
21+
22+
- name: slack
23+
image: plugins/slack
24+
when:
25+
status: [ success, failure ]
26+
settings:
27+
webhook:
28+
from_secret: slack_url
29+
channel: general
30+
username: drone
31+
icon_url: https://i.pinimg.com/originals/51/29/a4/5129a48ddad9e8408d2757dd10eb836f.jpg

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# https://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules
2+
drone-publish:
3+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
4+
npm publish

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<a href="https://webhookrelay.com" rel="noopener" target="_blank"><img width="100"src="https://webhookrelay.com/images/sat_logo.png"></a>
33
</p>
44

5+
[![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)
6+
57
## Webhook Relay
68

79
`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.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-contrib-webhookrelay",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"description": "General purpose webhook tunnel-based receiver. Process 3rd party webhooks without public IP or configuring NAT/firewall",
55
"main": "webhookrelay/webhookrelay.js",
66
"scripts": {
@@ -28,6 +28,6 @@
2828
},
2929
"homepage": "https://github.com/webhookrelay/node-red-contrib-webhookrelay#readme",
3030
"dependencies": {
31-
"webhookrelay-ws-client": "^0.5.0"
31+
"webhookrelay-ws-client": "^0.6.1"
3232
}
3333
}

0 commit comments

Comments
 (0)