Merge pull request 'Switch to Gitea Actions' (#1) from actions into master
All checks were successful
camelia / deploy (push) Successful in 22s
All checks were successful
camelia / deploy (push) Successful in 22s
Reviewed-on: #1
This commit is contained in:
commit
deed004cd9
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 -c "set cmd:fail-exit yes; set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; cd camelia-studio.org; mirror -Rpnevvv --parallel=10 --exclude logs/ --exclude zaap/ --exclude .git/ --exclude .well-known --exclude branches/divan-dit-vent/mp3/ --exclude camelianime/ --exclude divandirect/"
|
|
15
.gitea/workflows/camelia.yml
Normal file
15
.gitea/workflows/camelia.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
name: camelia
|
||||||
|
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; open -u $USERNAME,$PASSWORD $HOST; cd camelia-studio.org; mirror -Rpnevvv --parallel=10 --exclude logs/ --exclude zaap/ --exclude .git/ --exclude .well-known --exclude branches/divan-dit-vent/mp3/ --exclude camelianime/ --exclude divandirect/"
|
||||||
|
env:
|
||||||
|
USERNAME: ${{ secrets.USERNAME }}
|
||||||
|
PASSWORD: ${{ secrets.PASSWORD }}
|
||||||
|
HOST: ${{ secrets.HOST }}
|
Loading…
Reference in New Issue
Block a user