Site-CILA/.gitea/workflows/cila.yml
Michel Roux 68c43b7c06
All checks were successful
cila / deploy (push) Successful in 21s
Switch to Gitea Actions
2023-06-25 23:16:50 +02:00

16 lines
525 B
YAML

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