This commit is contained in:
parent
f583b9af02
commit
910a284f6c
25
.drone.yml
Normal file
25
.drone.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: deploy
|
||||||
|
image: appleboy/drone-scp
|
||||||
|
settings:
|
||||||
|
tar_tmp_path: /tmp/
|
||||||
|
host: get.happydomain.org
|
||||||
|
target: /var/www/happydns.org/get/
|
||||||
|
source: _list.html
|
||||||
|
username:
|
||||||
|
from_secret: ssh_username
|
||||||
|
key:
|
||||||
|
from_secret: deploy_key
|
||||||
|
port:
|
||||||
|
from_secret: ssh_port
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
Loading…
Reference in New Issue
Block a user