Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
OOAAHH authored Oct 30, 2024
1 parent ee83821 commit 28592ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: docs
on:
# 每当 push 到 main 分支时触发部署
push:
branches: vue_press
branches: main
# 手动触发部署
workflow_dispatch:

Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
uses: crazy-max/ghaction-github-pages@v4
with:
# 部署到 gh-pages 分支
target_branch: vue_press
target_branch: main
# 部署目录为 VuePress 的默认输出目录
build_dir: /press/docs/.vuepress/dist
env:
Expand Down

0 comments on commit 28592ef

Please sign in to comment.