Site-CILA/.gitea/workflows/cila.yml

16 lines
525 B
YAML
Raw Normal View History

2023-06-25 21:16:50 +00:00
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 }}