mirror of
https://github.com/cupcakearmy/drone-deploy.git
synced 2024-12-22 08:16:32 +00:00
Test
This commit is contained in:
parent
cc33b5f874
commit
4a37a08ea3
25
.drone.yml
Normal file
25
.drone.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user