Skip to content

Commit 8704441

Browse files
committed
docs: Add pull_request event
1 parent 79a5dff commit 8704441

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ on:
6666
push:
6767
branches:
6868
- main
69+
pull_request:
6970

7071
jobs:
7172
deploy:
@@ -83,6 +84,7 @@ jobs:
8384

8485
- name: Deploy
8586
uses: peaceiris/actions-gh-pages@v3
87+
if: github.ref == 'refs/heads/main'
8688
with:
8789
github_token: ${{ secrets.GITHUB_TOKEN }}
8890
publish_dir: ./book

0 commit comments

Comments
 (0)