From 2c24caf9629398b9c9001e31579d402147fe1f49 Mon Sep 17 00:00:00 2001 From: fzorb Date: Tue, 24 Dec 2024 18:50:35 +0200 Subject: [PATCH] Update .gitea/workflows/action.yml --- .gitea/workflows/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"