Compare commits
No commits in common. "7413c5ef3be93911cf75b8b17144eebd69f7b9b0" and "1a792e0f0c596da3ca14419c8aa23ae115d54c8f" have entirely different histories.
7413c5ef3b
...
1a792e0f0c
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 -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/"
|
@ -1,15 +0,0 @@
|
|||||||
name: natsuki
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
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/natsuki; mirror -Rpnevvv --parallel=10 --exclude .git/"
|
|
||||||
env:
|
|
||||||
USERNAME: ${{ secrets.USERNAME }}
|
|
||||||
PASSWORD: ${{ secrets.PASSWORD }}
|
|
||||||
HOST: ${{ secrets.HOST }}
|
|
Loading…
Reference in New Issue
Block a user