Roulette-a-donjons/.gitea/workflows/roulette.yml
2024-09-12 14:14:45 +02:00

19 lines
534 B
YAML

name: roulette
on:
push:
branches:
- master
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 cila.camelia-studio.org/roulette-donjons; mirror -Rpnevvv --parallel=10 --exclude .git/"
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}
HOST: ${{ secrets.HOST }}