Skip to content

Commit e8fd943

Browse files
tongyimingmikatong
andauthored
update sync code action (#2499)
Co-authored-by: mikatong <mikatong@tencent.com>
1 parent 3e584b0 commit e8fd943

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sync-code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
git branch -r --list "origin/coding-test/*" | grep -v HEAD | grep -v master | xargs -I {} git checkout -t {}
2929
git branch -r --list "origin/pipeline/*" | grep -v HEAD | grep -v master | xargs -I {} git checkout -t {}
3030
git remote add tgit_origin https://${{ secrets.USERNAME }}:${{ secrets.PASSWORD }}@git.code.tencent.com/tencentcloudstack/terraform-provider-tencentcloud.git
31-
git push -u tgit_origin --all
31+
git push -u tgit_origin -f --all
3232
git push -u tgit_origin master:main
33-
git push -u tgit_origin --tags
33+
git push -u tgit_origin --tags

0 commit comments

Comments
 (0)