From cd4aa7f4126f51cf819eb38a1279d42a81291521 Mon Sep 17 00:00:00 2001
From: haiyux <haiyux@foxmail.com>
Date: Sat, 8 Jan 2022 20:14:54 +0800
Subject: [PATCH] feat:sync to gitee where release a version (#1755)

---
 .github/workflows/gitee-sync.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/gitee-sync.yml b/.github/workflows/gitee-sync.yml
index 98ba93ff4..debfbb843 100644
--- a/.github/workflows/gitee-sync.yml
+++ b/.github/workflows/gitee-sync.yml
@@ -2,6 +2,8 @@ on:
   push:
     branches:
       - main
+    tags:
+      - "*"
 
 name: Sync to Gitee
 jobs:
@@ -12,7 +14,7 @@ jobs:
       - name: Checkout source code
         uses: actions/checkout@v1
       - name: Mirror Github to Gitee
-        uses: Yikun/hub-mirror-action@v1.0
+        uses: Yikun/hub-mirror-action@v1.2
         with:
           src: github/go-kratos
           dst: gitee/go-kratos