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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user