Compare commits

..

2 Commits

Author SHA1 Message Date
8adbc5c9d5 Merge pull request 'Switch to Gitea Actions' (#13) from actions into master
All checks were successful
roulette / deploy (push) Successful in 13s
Reviewed-on: #13
2023-06-26 13:06:20 +00:00
cb6a14f8a6 Switch to Gitea Actions
All checks were successful
roulette / deploy (push) Successful in 14s
2023-06-25 23:20:23 +02:00
2 changed files with 15 additions and 16 deletions

View File

@ -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/"

View File

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