mise ne place du ci/cd

This commit is contained in:
Esenjin 2022-06-01 11:41:07 +02:00
parent 468b1108ec
commit 858d02b078

16
.drone.yml Normal file
View File

@ -0,0 +1,16 @@
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; open -u $USERNAME,$PASSWORD $HOST; cd cila.camelia-studio.org/roulette-donjons; mirror -Rpnevvv --parallel=10 --exclude .git/"