drone-deploy/.drone.yml
2019-05-25 16:55:08 +02:00

27 lines
437 B
YAML

kind: pipeline
name: default
steps:
- name: deploy
image: cupcakearmy/drone-deploy
pull: always
settings:
host: nicco.io
user: root
key:
from_secret: ssh_key
port: 1312
test: ok
envs:
- user
- host
- key
- test
target: /srv/web/test
commands:
- echo $HOST
- echo $TEST
when:
event: push
branch: master