From 82526309ac21f4bf932d73cc24e0bf2889b85fe0 Mon Sep 17 00:00:00 2001 From: fzorb Date: Sat, 30 Nov 2024 22:49:11 +0200 Subject: [PATCH] hopefully move to a new host :pray: --- .gitea/workflows/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/action.yml b/.gitea/workflows/action.yml index 0fb18c1..f2344f1 100644 --- a/.gitea/workflows/action.yml +++ b/.gitea/workflows/action.yml @@ -32,14 +32,14 @@ jobs: - name: init ssh run: | mkdir -p ~/.ssh - echo "${{ secrets.PRIVKEY }}" | base64 -d > ~/.ssh/id_rsa + echo "${{ secrets.PRIVKEY2 }}" | base64 -d > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - ssh-keyscan -p 69 107.189.28.28 >> ~/.ssh/known_hosts + ssh-keyscan -p 22 10.14.0.205 >> ~/.ssh/known_hosts - name: upload new files run: | - rsync -avzh website/public/ -e "ssh -i ~/.ssh/id_rsa -p 69" --omit-dir-times pr@107.189.28.28:/srv/swag/config/www/fzorb.xyz + rsync -avzh website/public/ -e "ssh -i ~/.ssh/id_rsa -p 22" --omit-dir-times git@10.14.0.205:/var/www/fzorb.xyz - name: fix perms run: | - ssh -i ~/.ssh/id_rsa -p 69 pr@107.189.28.28 "chmod 755 -R /srv/swag/config/www/fzorb.xyz" + ssh -i ~/.ssh/id_rsa -p 22 git@10.14.0.205 "chmod 755 -R /var/www/fzorb.xyz"