diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index 9639a63..e4817b3 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -31,12 +31,12 @@ jobs: - name: init ssh 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 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 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"