Skip to content

Commit

Permalink
chore: change server
Browse files Browse the repository at this point in the history
  • Loading branch information
zhullyb committed Sep 25, 2024
1 parent 34d1d81 commit d724c38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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/

0 comments on commit d724c38

Please sign in to comment.