Skip to content

Commit de2e5eb

Browse files
committed
chore(examples): remove 15 duplicate _svg.pptx exports, optimize deploy trigger
- Delete all *_svg.pptx from exports/ across 15 projects (-31M) - Add path filters to deploy-pages.yml: only deploy when index.html, viewer.html, or examples/ change
1 parent 687a878 commit de2e5eb

17 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/deploy-pages.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@
44
name: Deploy to GitHub Pages
55

66
on:
7-
# 推送到 main 分支时触发
7+
# 推送到 main 分支时,仅网页相关文件变更才触发
88
push:
99
branches: ["main"]
10-
# 允许手动触发
10+
paths:
11+
- 'index.html'
12+
- 'viewer.html'
13+
- 'examples/**'
14+
- '.github/workflows/deploy-pages.yml'
15+
# 允许手动触发(不受路径限制)
1116
workflow_dispatch:
1217

1318
# 设置 GITHUB_TOKEN 权限
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)