ci(workflows): restrict deploy workflow to main branch only

docs(zh-cn): enhance AI integration guide with practical tips and structure
This commit is contained in:
sanbuphy
2026-01-20 10:28:46 +08:00
parent 389c9126a1
commit f6195ee17a
2 changed files with 120 additions and 52 deletions
+3 -1
View File
@@ -2,8 +2,10 @@
name: Deploy VitePress site to Pages
on:
# Runs on every push.
# Runs on pushes to main branch only
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch: