update drone?
This commit is contained in:
parent
4d482c3ce4
commit
f3c782e8d7
1 changed files with 8 additions and 6 deletions
14
.drone.yml
14
.drone.yml
|
@ -11,10 +11,10 @@ trigger:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: node:lts-alpine
|
image: node:lts-alpine
|
||||||
commands:
|
commands:
|
||||||
- npm ci
|
- npm ci
|
||||||
- npm test
|
- npm test
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -25,7 +25,8 @@ name: deploy-staging
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branches:
|
branches:
|
||||||
- stage
|
include:
|
||||||
|
- stage
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
@ -37,7 +38,8 @@ steps:
|
||||||
- npm test
|
- npm test
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
hosts: [jshaver.net]
|
hosts:
|
||||||
|
- jshaver.net
|
||||||
user: deploy
|
user: deploy
|
||||||
key:
|
key:
|
||||||
from_secret: deploy-key
|
from_secret: deploy-key
|
||||||
|
|
Loading…
Reference in a new issue