From 8704441f6a3fec616c135174813681c5ed27c2d6 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Mon, 17 May 2021 23:57:04 +0900 Subject: [PATCH] docs: Add pull_request event --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d418bc0..b5f601d 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ on: push: branches: - main + pull_request: jobs: deploy: @@ -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