update drone?

This commit is contained in:
John Shaver 2021-06-16 23:35:32 -07:00
parent 4d482c3ce4
commit f3c782e8d7

View file

@ -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