19 lines
555 B
YAML
19 lines
555 B
YAML
name: cila
|
|
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 -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 }}
|