Ajouter '.drone.yml'
This commit is contained in:
parent
2a8b37325e
commit
c65b97c0a9
16
.drone.yml
Normal file
16
.drone.yml
Normal 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 -d -c "set cmd:fail-exit yes; set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; cd cila.camelia-studio.org/v3; mirror -Rpnevvv --exclude logs/ --exclude .git/ --exclude cloud/ --exclude mails/"
|
Loading…
Reference in New Issue
Block a user