2021-05-31 23:15:28 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
2021-05-31 23:36:50 +00:00
|
|
|
clone:
|
|
|
|
disable: true
|
|
|
|
|
2021-05-31 23:15:28 +00:00
|
|
|
steps:
|
2021-05-31 23:32:06 +00:00
|
|
|
- name: clone
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
2021-05-31 23:32:58 +00:00
|
|
|
- git clone https://gitea.watsonlabs.net/watsonb8/homebridge-harmony-control.git .
|
2021-05-31 23:32:06 +00:00
|
|
|
- git checkout $DRONE_COMMIT
|
|
|
|
|
2021-05-31 23:15:28 +00:00
|
|
|
- name: build
|
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- npm install
|
|
|
|
- npm run build
|