Skip to content

Commit 1c57079

Browse files
authored
Update build-doc.yml
Signed-off-by: Yang Pan <[email protected]>
1 parent 3e1aa15 commit 1c57079

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/build-doc.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
name: PR build check for Docusaurus site
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
# Review gh actions docs if you want to further define triggers, paths, etc
8-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
4+
pull_request:
5+
branches: [ "main" ]
96

107
defaults:
118
run:
@@ -28,4 +25,4 @@ jobs:
2825
run: yarn install --frozen-lockfile
2926

3027
- name: Build website
31-
run: yarn build
28+
run: yarn build

0 commit comments

Comments
 (0)