Files
planetposen/.drone.yml
2021-08-25 15:47:39 +02:00

44 lines
623 B
YAML

---
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: planetposen.schleppe
username: root
key:
from_secret: ssh_key
command_timeout: 600s
script:
- /home/kevin/deploy.sh
trigger:
branch:
- master
event:
include:
- pull_request
- push