mirror of
https://github.com/cupcakearmy/drone-deploy.git
synced 2024-12-22 08:16:32 +00:00
25 lines
407 B
YAML
25 lines
407 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
|
||
|
target: /srv/web/test
|
||
|
commands:
|
||
|
- echo $KEY
|
||
|
- echo $HOST
|
||
|
when:
|
||
|
event: push
|
||
|
branch: master
|