ilangai commited on
Commit
9610bcd
·
1 Parent(s): ebc07aa

ci: add GitCode sync

Browse files
.github/workflows/{sync-gitee.yml → sync-mirrors.yml} RENAMED
@@ -1,4 +1,4 @@
1
- name: Sync to Gitee
2
 
3
  on:
4
  push:
@@ -20,3 +20,9 @@ jobs:
20
  git remote add gitee https://${{ secrets.GITEE_USER }}:${{ secrets.GITEE_TOKEN }}@gitee.com/palmmedia/trae.git || true
21
  git push gitee main --force
22
  git push gitee --tags --force
 
 
 
 
 
 
 
1
+ name: Sync to Gitee + GitCode
2
 
3
  on:
4
  push:
 
20
  git remote add gitee https://${{ secrets.GITEE_USER }}:${{ secrets.GITEE_TOKEN }}@gitee.com/palmmedia/trae.git || true
21
  git push gitee main --force
22
  git push gitee --tags --force
23
+
24
+ - name: Push to GitCode
25
+ run: |
26
+ git remote add gitcode https://${{ secrets.GITCODE_USER }}:${{ secrets.GITCODE_TOKEN }}@gitcode.com/palmmedia/trae.git || true
27
+ git push gitcode main --force
28
+ git push gitcode --tags --force