Update .gitea/workflows/action.yml
Some checks failed
pipeline / deploy-job (push) Failing after 49s
Some checks failed
pipeline / deploy-job (push) Failing after 49s
This commit is contained in:
parent
b4f7e596c0
commit
8486b08527
@ -31,12 +31,12 @@ jobs:
|
||||
|
||||
- name: init ftp and delete old files
|
||||
run: |
|
||||
lftp -u "main","${{ secrets.FTP_PASS }}" -e "rm -rf /www; bye" -p 2021 ftp://107.189.28.28
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -e "rm -rf /www; bye" -p 2021 ftp://107.189.28.28
|
||||
|
||||
- name: upload new files via ftp
|
||||
run: |
|
||||
lftp -u "main","${{ secrets.FTP_PASS }}" -e "mirror -R website/public /www; bye" -p 2021 ftp://107.189.28.28
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -e "mirror -R website/public /www; bye" -p 2021 ftp://107.189.28.28
|
||||
|
||||
- name: fix perms via ftp
|
||||
run: |
|
||||
lftp -u "main","${{ secrets.FTP_PASS }}" -e "chmod -R 755 /www; bye" -p 2021 ftp://107.189.28.28
|
||||
lftp -u "main","${{ secrets.PASSWORD }}" -e "chmod -R 755 /www; bye" -p 2021 ftp://107.189.28.28
|
Loading…
Reference in New Issue
Block a user