This commit is contained in:
parent
c0ec16a5af
commit
68c43b7c06
16
.drone.yml
16
.drone.yml
@ -1,16 +0,0 @@
|
||||
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/"
|
15
.gitea/workflows/cila.yml
Normal file
15
.gitea/workflows/cila.yml
Normal file
@ -0,0 +1,15 @@
|
||||
name: cila
|
||||
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 -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/"
|
||||
env:
|
||||
USERNAME: ${{ secrets.USERNAME }}
|
||||
PASSWORD: ${{ secrets.PASSWORD }}
|
||||
HOST: ${{ secrets.HOST }}
|
Loading…
Reference in New Issue
Block a user