Update .drone.yml

This commit is contained in:
2020-01-31 22:21:49 +01:00
committed by GitHub
parent 5ae52f59fc
commit 2ea4bffd49

View File

@@ -1,7 +1,7 @@
--- ---
kind: pipeline kind: pipeline
type: exec type: docker
name: default name: seasoned build
platform: platform:
os: linux os: linux
@@ -9,17 +9,35 @@ platform:
steps: steps:
- name: frontend_install - name: frontend_install
image: node:13.6.0
commands: commands:
- yarn - node -v
- name: frontend_build - yarn --version
commands: - name: deploy
- yarn build image: appleboy/drone-ssh
pull: true
secrets:
- ssh_key
when:
event:
- push
branch:
- master
- drone-test
status: success
settings:
host: 10.0.0.114
username: root
key:
from_secret: ssh_key
command_timeout: 600s
script:
- /home/kevin/deploy/seasoned.sh
trigger: trigger:
branch: branch:
- master - master
- drone-test
event: event:
include: include:
- pull_request - pull_request
- push - push