Adding deploy step
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Brandon Watson 2022-01-07 16:16:15 -05:00
parent 52a259dafd
commit 3fe902c50b
3 changed files with 22 additions and 2 deletions

View File

@ -5,6 +5,9 @@ name: default
clone: clone:
disable: true disable: true
node:
lan: internal
steps: steps:
- name: clone - name: clone
image: alpine/git image: alpine/git
@ -66,6 +69,23 @@ steps:
exclude: exclude:
- pull_request - pull_request
- name: deploy
image: appleboy/drone-ssh
settings:
host: homebridge.me
username:
from_secret: ssh_user
key:
from_secret: ssh_key
port: 22
script:
- npm install -g homebridge-harmony-control --registry http://10.44.1.6:4873
when:
event:
- tag
exclude:
- pull_request
- name: Notify - name: Notify
image: drillster/drone-email image: drillster/drone-email
settings: settings:

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@watsonb8/homebridge-harmony-control", "name": "@watsonb8/homebridge-harmony-control",
"version": "1.2.2", "version": "1.2.3",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@watsonb8/homebridge-harmony-control", "name": "@watsonb8/homebridge-harmony-control",
"version": "1.2.2", "version": "1.2.3",
"description": "Homebridge platform to control smart home equipment by room.", "description": "Homebridge platform to control smart home equipment by room.",
"main": "bin/index.js", "main": "bin/index.js",
"publishConfig": { "publishConfig": {