Sites-Camelia/.gitea/workflows/camelia.yml
Michel Roux cad8cddaf9
All checks were successful
camelia / deploy (push) Successful in 24s
Switch to Gitea Actions
2023-06-25 22:22:27 +02:00

16 lines
620 B
YAML

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 }}