From 56dd94d2c7540e8dc076b773ee61b106d4d1137e Mon Sep 17 00:00:00 2001 From: fzorb Date: Wed, 9 Oct 2024 22:13:46 +0300 Subject: [PATCH] modify workflow to use alternative directory --- .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 d460efc..95cd727 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -38,12 +38,12 @@ jobs: - name: delete new files so we don't screw up stuff run: | - ssh -i ~/.ssh/id_rsa -p 69 gitlab@107.189.28.28 "rm -rf /var/www/fzorb.xyz/*" + ssh -i ~/.ssh/id_rsa -p 69 gitlab@107.189.28.28 "rm -rf /srv/swag/config/www/fzorb.xyz/*" - name: upload new files run: | - rsync -avzh website/public/ -e "ssh -i ~/.ssh/id_rsa -p 69" gitlab@107.189.28.28:/var/www/fzorb.xyz + rsync -avzh website/public/ -e "ssh -i ~/.ssh/id_rsa -p 69" gitlab@107.189.28.28:/srv/swag/config/www/fzorb.xyz - name: fix perms run: | - ssh -i ~/.ssh/id_rsa -p 69 gitlab@107.189.28.28 "chmod 755 -R /var/www/fzorb.xyz" + ssh -i ~/.ssh/id_rsa -p 69 gitlab@107.189.28.28 "chmod 755 -R /srv/swag/config/www/fzorb.xyz"