Sites-Camelia/.gitea/workflows/camelia.yml

19 lines
650 B
YAML
Raw Normal View History

2023-06-25 20:10:52 +00:00
name: camelia
on:
push:
branches:
- master
2023-06-25 20:10:52 +00:00
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 }}