From 3b97bfcd89979b0d69eb9ea3d2527ab6bae73d92 Mon Sep 17 00:00:00 2001 From: fzorb Date: Sat, 30 Nov 2024 23:02:11 +0200 Subject: [PATCH] maybe putting the password in '' will work --- .gitea/workflows/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index a5e9d87..1ac1d03 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -35,8 +35,8 @@ jobs: - name: upload new files run: | - rsync -avzh website/public/ -e "sshpass -p ${{secrets.PASSWD}}" --omit-dir-times git@10.14.0.205:/var/www/fzorb.xyz + rsync -avzh website/public/ -e "sshpass -p '${{secrets.PASSWD}}'" --omit-dir-times git@10.14.0.205:/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@10.14.0.205 "chmod 755 -R /var/www/fzorb.xyz"