Skip to content

Commit 6eb1bc0

Browse files
committed
ci: fix sync-gitee action
1 parent b53aef0 commit 6eb1bc0

2 files changed

Lines changed: 1 addition & 12 deletions

File tree

.github/workflows/deploy-github-pages.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -111,17 +111,6 @@ jobs:
111111
echo "Prune preview for PR #${pr_number}"
112112
done
113113
114-
- name: Check Pages publish size
115-
run: |
116-
size_kb=$(du -sk dist | awk '{print $1}')
117-
max_kb=950000
118-
echo "Pages publish directory size: ${size_kb} KB"
119-
if [ "$size_kb" -gt "$max_kb" ]; then
120-
echo "Pages publish directory exceeds ${max_kb} KB. Largest entries:"
121-
du -h -d 2 dist | sort -hr | head -50
122-
exit 1
123-
fi
124-
125114
# ================= Deploy to GitHub Pages =================
126115
- name: 🚀 Deploy to GitHub Pages
127116
uses: peaceiris/actions-gh-pages@v4

.github/workflows/sync-gitee-mirror.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: minimum-runner
1313
steps:
1414
- name: Sync Gitee
15-
uses: jikkai/sync-gitee@v1
15+
uses: jikkai/sync-gitee@main
1616
with:
1717
repository: dream-num/univer
1818
username: ${{ secrets.GITEE_USERNAME }}

0 commit comments

Comments
 (0)