Skip to content

Commit

Permalink
使用强制推送
Browse files Browse the repository at this point in the history
  • Loading branch information
kressety authored Jan 19, 2024
1 parent cc404bc commit 2bdda54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ jobs:
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -t rsa codeup.aliyun.com >> ~/.ssh/known_hosts
git remote add target "$TARGET_REPO"
git pull
git push target HEAD:main
git push target HEAD:main --force

0 comments on commit 2bdda54

Please sign in to comment.