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:
|
||||
- name: test
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- npm ci
|
||||
- npm test
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- npm ci
|
||||
- npm test
|
||||
|
||||
|
||||
---
|
||||
|
@ -25,7 +25,8 @@ name: deploy-staging
|
|||
|
||||
trigger:
|
||||
branches:
|
||||
- stage
|
||||
include:
|
||||
- stage
|
||||
event:
|
||||
- push
|
||||
|
||||
|
@ -37,7 +38,8 @@ steps:
|
|||
- npm test
|
||||
- name: deploy
|
||||
image: drillster/drone-rsync
|
||||
hosts: [jshaver.net]
|
||||
hosts:
|
||||
- jshaver.net
|
||||
user: deploy
|
||||
key:
|
||||
from_secret: deploy-key
|
||||
|
|
Loading…
Reference in a new issue