Skip to content

Commit

Permalink
更新同步到gitee脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Feb 2, 2025
1 parent b32922d commit 3b8219e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/push-to-gitee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ jobs:
run: |
# ssh -T [email protected]
git remote add gitee [email protected]:jingjingxyk/swoole-cli.git
git fetch gitee -a
git push gitee --all
# 求差集 (gitee 存在的分支,github 不存在分支,执行删除操作)
git fetch gitee -a
GITEE_BRANCHS=$(git branch -r --list | grep -v -- '->' | grep 'gitee/' | sed 's/gitee\///' | xargs -I {} echo {} | sort)
GITHUB_BRANCHS=$(git branch -r --list | grep -v -- '->' | grep 'origin/' | sed 's/origin\///' | xargs -I {} echo {} | sort)
Expand Down

0 comments on commit 3b8219e

Please sign in to comment.