Update .gitea/workflows/action.yml
Some checks failed
pipeline / deploy-job (push) Failing after 2m37s
Some checks failed
pipeline / deploy-job (push) Failing after 2m37s
This commit is contained in:
parent
dea05ace51
commit
2c24caf962
@ -31,12 +31,12 @@ jobs:
|
|||||||
|
|
||||||
- name: init ssh
|
- name: init ssh
|
||||||
run: |
|
run: |
|
||||||
ssh-keyscan -p 22 10.14.0.205 >> ~/.ssh/known_hosts
|
ssh-keyscan -p 22 fzorb.xyz >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
- name: upload new files
|
- name: upload new files
|
||||||
run: |
|
run: |
|
||||||
sshpass -p '${{secrets.PASSWD}}' rsync -avzh website/public/ -e ssh git@10.14.0.205:/var/www/fzorb.xyz
|
sshpass -p '${{secrets.PASSWD}}' rsync -avzh website/public/ -e ssh git@fzorb.xyz:/var/www/fzorb.xyz
|
||||||
|
|
||||||
- name: fix perms
|
- name: fix perms
|
||||||
run: |
|
run: |
|
||||||
sshpass -p '${{secrets.PASSWD}}' git@10.14.0.205 "chmod 755 -R /var/www/fzorb.xyz"
|
sshpass -p '${{secrets.PASSWD}}' git@fzorb.xyz "chmod 777 -R /var/www/fzorb.xyz"
|
||||||
|
Loading…
Reference in New Issue
Block a user