Compare commits
No commits in common. "6200b75ec8012c1f7ac276139471977c7a6e7781" and "e05dcbcabac44a3bc8a9fc3f0cf798cdd532e302" have entirely different histories.
6200b75ec8
...
e05dcbcaba
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/moisson-rouge; mirror -Rpnevvv --parallel=10 --exclude .git/"
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
@ -1,18 +0,0 @@
|
|||||||
name: moisson
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: finalgene/lftp
|
|
||||||
steps:
|
|
||||||
- run: apk add --no-cache git nodejs
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- run: 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/moisson-rouge; mirror -Rpnevvv --parallel=10 --exclude .git/"
|
|
||||||
env:
|
|
||||||
USERNAME: ${{ secrets.USERNAME }}
|
|
||||||
PASSWORD: ${{ secrets.PASSWORD }}
|
|
||||||
HOST: ${{ secrets.HOST }}
|
|
Loading…
Reference in New Issue
Block a user