ci: restrict Pages deployment to master

This commit is contained in:
Yichen Jiang
2026-07-20 18:41:10 +08:00
parent 734a45cf66
commit fe393c55c8

View File

@@ -2,8 +2,7 @@ name: Deploy documentation
on: on:
push: push:
# Keep this branch only for the pre-merge deployment validation run. branches: [master]
branches: [master, worktree/docs-pages-deploy]
paths: paths:
- '.github/workflows/docs-pages.yml' - '.github/workflows/docs-pages.yml'
- 'docs/**' - 'docs/**'