drone-deploy/.drone.yml
2019-05-25 16:52:43 +02:00

28 lines
457 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 $KEY
- echo $HOST
- echo $test
when:
event: push
branch: master