Update sync-to-gitea.yml
s
This commit is contained in:
parent
31de08df32
commit
a8ba0f3d37
2
.github/workflows/sync-to-gitea.yml
vendored
2
.github/workflows/sync-to-gitea.yml
vendored
@ -31,5 +31,5 @@ jobs:
|
||||
for branch in $(git branch -r | grep -v '\->'); do
|
||||
git checkout --track $branch
|
||||
# 修复URL中的错误,移除多余的 http://
|
||||
git push https://your_gitea_user:${{ secrets.GITEA_TOKEN }}@${GITEA_URL}/${GITEA_REPO}.git HEAD:$branch
|
||||
git push http://your_gitea_user:${{ secrets.GITEA_TOKEN }}@${GITEA_URL}/${GITEA_REPO}.git HEAD:$branch
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user