Update .gitea/workflows/action.yml
Some checks failed
pipeline / deploy-job (push) Has been cancelled
Some checks failed
pipeline / deploy-job (push) Has been cancelled
This commit is contained in:
parent
6e5eb0fcf0
commit
f125dce9c0
@ -31,8 +31,8 @@ jobs:
|
||||
|
||||
- name: init ftp and delete old files
|
||||
run: |
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -e "rm -rf /www; bye" -p 2021 ftp://107.189.28.28
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -p 2121 -e "set ftp:ssl-allow no; rm -rf /www; bye" ftp://107.189.28.28
|
||||
|
||||
- name: upload new files via ftp
|
||||
run: |
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -e "mirror -R website/public /www; bye" -p 2021 ftp://107.189.28.28
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -p 2121 -e "set ftp:ssl-allow no; mirror -R website/public /www; bye" ftp://107.189.28.28
|
Loading…
Reference in New Issue
Block a user