Update .gitea/workflows/action.yml
All checks were successful
pipeline / deploy-job (push) Successful in 51s
All checks were successful
pipeline / deploy-job (push) Successful in 51s
This commit is contained in:
parent
f125dce9c0
commit
81b6ac9946
@ -31,8 +31,8 @@ jobs:
|
||||
|
||||
- name: init ftp and delete old files
|
||||
run: |
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -p 2121 -e "set ftp:ssl-allow no; rm -rf /www; bye" ftp://107.189.28.28
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -p 2021 -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 }}" -p 2121 -e "set ftp:ssl-allow no; mirror -R website/public /www; bye" ftp://107.189.28.28
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -p 2021 -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