drone-deploy/.drone.yml

25 lines
407 B
YAML
Raw Normal View History

2019-05-25 14:47:52 +00:00
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
target: /srv/web/test
commands:
- echo $KEY
- echo $HOST
when:
event: push
branch: master