Update .gitea/workflows/action.yml
All checks were successful
pipeline / deploy-job (push) Successful in 46s
All checks were successful
pipeline / deploy-job (push) Successful in 46s
This commit is contained in:
parent
ebd1383db7
commit
bfc8d5affa
@ -31,9 +31,8 @@ jobs:
|
||||
|
||||
- name: init ftp and delete old files
|
||||
run: |
|
||||
echo "set ssl:verify-certificate no" >> ~/.lftp/rc
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -p 2021 -e "rm -rf /www; bye" ftp://107.189.28.28
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -p 2021 -e "set ssl:verify-certificate no; rm -rf /www; bye" ftp://107.189.28.28
|
||||
|
||||
- name: upload new files via ftp
|
||||
run: |
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -p 2021 -e "mirror -R website/public /www; bye" ftp://107.189.28.28
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -p 2021 -e "set ssl:verify-certificate no;mirror -R website/public /www; bye" ftp://107.189.28.28
|
Loading…
Reference in New Issue
Block a user