mirror of
https://github.com/cupcakearmy/drone-deploy.git
synced 2025-09-03 20:20:40 +00:00
Test
This commit is contained in:
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
|
Reference in New Issue
Block a user