.forgejo/workflows/deploy.yml aktualisiert
Some checks failed
Deploy Scoresniper via SFTP / deploy (push) Has been cancelled
Some checks failed
Deploy Scoresniper via SFTP / deploy (push) Has been cancelled
This commit is contained in:
parent
41248a43cf
commit
240313f653
1 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
name: FTP Deploy
|
name: Deploy Scoresniper via SFTP
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -18,6 +18,9 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y lftp
|
sudo apt-get install -y lftp
|
||||||
|
|
||||||
- name: Upload via FTP
|
- name: Upload via SFTP
|
||||||
run: |
|
run: |
|
||||||
lftp -u ${{ secrets.FTP_USER }},${{ secrets.FTP_PASS }} -e "mirror -R ./dist /remote/path; quit" ftp://potzplitz.de
|
lftp -u ${{ secrets.SFTP_USER }},${{ secrets.SFTP_PASS }} sftp://potzplitz.de <<EOF
|
||||||
|
mirror -R --delete ./dist /var/www/html/scoresniper
|
||||||
|
quit
|
||||||
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue