Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
OOAAHH authored Oct 30, 2024
1 parent 0292441 commit cb1caea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
# 每当 push 到 main 分支时触发部署
# Deployment is triggered whenever a push is made to the main branch.
push:
branches: [main]
branches: main
# 手动触发部署
# Manually trigger deployment
workflow_dispatch:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
uses: crazy-max/ghaction-github-pages@v4
with:
# 部署到 gh-pages 分支
target_branch: main
target_branch: gh-pages
# 部署目录为 VuePress 的默认输出目录
build_dir: docs/docs/.vuepress/dist
env:
Expand Down

0 comments on commit cb1caea

Please sign in to comment.