From d724c386adba9b96db5486a57b9667545f3f7796 Mon Sep 17 00:00:00 2001 From: zhullyb Date: Wed, 25 Sep 2024 18:48:06 +0800 Subject: [PATCH] chore: change server --- .github/workflows/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index dfd682c..510a8c8 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -48,7 +48,7 @@ jobs: mkdir -p ~/.ssh/ echo "$DEPLOY_KEY" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - ssh-keyscan blog.zhullyb.top >> ~/.ssh/known_hosts + ssh-keyscan -p 8022 aliyunhk.cname.5435486.xyz >> ~/.ssh/known_hosts - name: Install rsync run: | @@ -57,6 +57,6 @@ jobs: - name: Deploy id: deployment run: | - rsync -avz --delete dist/ root@blog.zhullyb.top:/var/www/jh/ + rsync -avz -e "ssh -p 8022" --delete dist/ root@aliyunhk.cname.5435486.xyz:/var/www/myzjut.org/