Skip to content

Commit

Permalink
docs: Add pull_request event
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed May 17, 2021
1 parent 79a5dff commit 8704441
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ on:
push:
branches:
- main
pull_request:

jobs:
deploy:
Expand All @@ -83,6 +84,7 @@ jobs:

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book
Expand Down

0 comments on commit 8704441

Please sign in to comment.