6 Commits

Author SHA1 Message Date
3c8463f06c disabled yarn building packages 2020-01-20 23:40:33 +01:00
a34313ea6f run deploy script on api host 2020-01-20 20:55:02 +01:00
0ac90f1b17 Update .drone.yml 2020-01-20 20:18:49 +01:00
d0c32c267a Update .drone.yml 2020-01-20 20:18:23 +01:00
9586d71ca0 Update .drone.yml 2020-01-20 19:06:07 +01:00
64aa607924 test branch added to build triggers 2020-01-20 19:05:17 +01:00

View File

@@ -1,6 +1,6 @@
---
kind: pipeline
type: exec
type: docker
name: default
platform:
@@ -9,15 +9,36 @@ platform:
steps:
- name: frontend_install
image: node:13.6.0
commands:
- yarn
- name: frontend_build
commands:
- yarn build
- node -v
- yarn --version
- name: deploy
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:
branch:
- master
- drone-test
event:
include:
- pull_request
- push