homebridge-harmony-control/.drone.yml
Brandon Watson 2612f61082
All checks were successful
continuous-integration/drone/push Build is passing
feature/drone (#4)
Revert "Using email alias"

This reverts commit d1a3b80293.

Using email alias

Removing bash_profile

WIP

Updating registry path

Co-authored-by: Brandon Watson <watsonb8133@gmail.com>
Reviewed-on: http://gitea.watsonlabs.net/watsonb8/homebridge-harmony-control/pulls/4
2021-06-02 21:59:52 -04:00

42 lines
775 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
notify:
image: drillster/drone-email
host: smtp.watsonlabs.net
username: srvGitea
password:
from_secret: smtp_password
from: drone@watsonlabs.net
when:
status: [failure]