Update .gitea/workflows/action.yml
Some checks failed
pipeline / deploy-job (push) Failing after 16s

This commit is contained in:
fzorb 2024-09-22 11:00:53 +03:00
parent 81b6ac9946
commit d148a673fe

View File

@ -31,8 +31,9 @@ jobs:
- name: init ftp and delete old files - name: init ftp and delete old files
run: | run: |
lftp -u "main","${{ secrets.PASSWORD }}" -p 2021 -e "set ftp:ssl-allow no; rm -rf /www; bye" ftp://107.189.28.28 echo "ssl:verify-certificate false" >> "~/.lftprc"
lftp -u "main","${{ secrets.PASSWORD }}" -p 2021 -e "rm -rf /www; bye" ftp://107.189.28.28
- name: upload new files via ftp - name: upload new files via ftp
run: | run: |
lftp -u "main","${{ secrets.PASSWORD }}" -p 2021 -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 "mirror -R website/public /www; bye" ftp://107.189.28.28