diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 1cf4203..0000000 --- a/.drone.yml +++ /dev/null @@ -1,16 +0,0 @@ -kind: pipeline -type: docker -name: deploy - -steps: -- name: deploy - image: mwienk/docker-lftp - environment: - USERNAME: - from_secret: ftp-esenjin-username - PASSWORD: - from_secret: ftp-esenjin-password - HOST: - from_secret: shelter-host - commands: - - 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/" \ No newline at end of file diff --git a/.gitea/workflows/roulette.yml b/.gitea/workflows/roulette.yml new file mode 100644 index 0000000..496a409 --- /dev/null +++ b/.gitea/workflows/roulette.yml @@ -0,0 +1,15 @@ +name: roulette +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 -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 }}