ajout Drône pour CI/CD
This commit is contained in:
parent
ae23e224b0
commit
9e8f828b8d
19
.drone.yml
Normal file
19
.drone.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: deploy
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: deploy
|
||||||
|
image: mwienk/docker-lftp
|
||||||
|
environment:
|
||||||
|
USERNAME:
|
||||||
|
from_secret: ftp-esenjin-username
|
||||||
|
PASSWORD:
|
||||||
|
from_secret: ftp-esenjin-password
|
||||||
|
HOST:
|
||||||
|
from_secret: shelter-host
|
||||||
|
commands:
|
||||||
|
- lftp -c "set cmd:fail-exit yes; set ftp:ssl-allow no;set dns:order \"inet inet6\"; open -u $USERNAME,$PASSWORD $HOST; cd cila.camelia-studio.org/natsuki; mirror -Rpnevvv --parallel=10 --exclude .git/"
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
Loading…
Reference in New Issue
Block a user