Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

ci: fix sync-gitee action

白熱6eb1bc0cb502
diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml
index e1d2a53f69..11a1e72346 100644
--- a/.github/workflows/deploy-github-pages.yml
+++ b/.github/workflows/deploy-github-pages.yml
@@ -111,17 +111,6 @@ jobs:
echo "Prune preview for PR #${pr_number}"
done
- - name: Check Pages publish size
- run: |
- size_kb=$(du -sk dist | awk '{print $1}')
- max_kb=950000
- echo "Pages publish directory size: ${size_kb} KB"
- if [ "$size_kb" -gt "$max_kb" ]; then
- echo "Pages publish directory exceeds ${max_kb} KB. Largest entries:"
- du -h -d 2 dist | sort -hr | head -50
- exit 1
- fi
-
# ================= Deploy to GitHub Pages =================
- name: 🚀 Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
diff --git a/.github/workflows/sync-gitee-mirror.yml b/.github/workflows/sync-gitee-mirror.yml
index a7fe194063..49275a05b9 100644
--- a/.github/workflows/sync-gitee-mirror.yml
+++ b/.github/workflows/sync-gitee-mirror.yml
@@ -12,7 +12,7 @@ jobs:
runs-on: minimum-runner
steps:
- name: Sync Gitee
- uses: jikkai/sync-gitee@v1
+ uses: jikkai/sync-gitee@main
with:
repository: dream-num/univer
username: ${{ secrets.GITEE_USERNAME }}