We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f6be04 commit 03412bbCopy full SHA for 03412bb
.github/workflows/sync-to-mirrors.yml
@@ -32,6 +32,12 @@ jobs:
32
git remote add gitee https://oauth2:${{ secrets.GITEE_TOKEN }}@gitee.com/worryzyy/element-ui-x.git || true
33
git remote set-url gitee https://oauth2:${{ secrets.GITEE_TOKEN }}@gitee.com/worryzyy/element-ui-x.git
34
35
+ - name: Update remote refs
36
+ run: |
37
+ echo "Fetching remote refs..."
38
+ git fetch gitcode || true
39
+ git fetch gitee || true
40
+
41
- name: Push to GitCode
42
run: |
43
echo "Pushing to GitCode..."
@@ -47,5 +53,5 @@ jobs:
47
53
- name: Sync status
48
54
49
55
echo "✅ 同步完成"
50
- echo "分支: ${{ github.ref_name }}"
56
+ echo "分支: ${{ github.ref_name }}"
51
57
echo "提交: ${{ github.sha }}"
0 commit comments