drone-deploy/.drone.yml

23 lines
384 B
YAML
Raw Permalink 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
2019-05-25 15:16:41 +00:00
# envs: all
2019-05-25 14:47:52 +00:00
target: /srv/web/test
commands:
- echo $HOST
2019-05-25 14:55:08 +00:00
- echo $TEST
2019-05-25 14:47:52 +00:00
when:
event: push
branch: master