Drone build agent configuration file.

This commit is contained in:
2020-07-18 22:24:07 +02:00
parent 66dc34796a
commit 141977c825

43
.drone.yml Normal file
View File

@@ -0,0 +1,43 @@
---
kind: pipeline
type: docker
name: planetposen
platform:
os: linux
arch: amd64
steps:
- name: frontend_install
image: node:13.6.0
commands:
- 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/planetposen.sh
trigger:
branch:
- master
event:
include:
- pull_request
- push