homebridge-harmony-control/.drone.yml
Brandon Watson 6c363f8d8c
All checks were successful
continuous-integration/drone/push Build is passing
Adding official npm plugin
2021-06-02 21:14:12 -04:00

32 lines
583 B
YAML

kind: pipeline
type: docker
name: default
clone:
disable: true
steps:
- name: clone
image: alpine/git
commands:
- git clone https://gitea.watsonlabs.net/watsonb8/homebridge-harmony-control.git .
- git checkout $DRONE_COMMIT
- name: build
image: node
commands:
- npm install
- npm run build
- name: publish
image: plugins/npm
settings:
username: admin
password:
from_secret: npm_password
email: brandon@watsonlabs.net
registry: "http://linuxhost.me:4873"
when:
event:
- tag