From 13c988890269d5eaa9e7a8316b5e27d2e61481c8 Mon Sep 17 00:00:00 2001 From: Dakurei Date: Sat, 1 Jun 2024 02:30:55 +0200 Subject: [PATCH] Trigger the github-pages workflow even during pull requests (#1655) + Allows upstream identification of problems such as those that occurred during merge of PR #1567 --- .github/workflows/github-pages.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index a648f792b2b..aa63792bbea 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -4,6 +4,9 @@ on: push: branches: - main + pull_request: + branches: + - main jobs: pages: @@ -33,6 +36,7 @@ jobs: node-version: 20 - name: Checkout repository for Github Pages + if: github.event_name == 'push' uses: actions/checkout@v3 with: path: pokerogue_gh @@ -52,6 +56,7 @@ jobs: npx typedoc --out /tmp/docs --githubPages false --entryPoints ./src/ - name: Commit & Push docs + if: github.event_name == 'push' run: | cd pokerogue_gh git config user.email "github-actions[bot]@users.noreply.github.com"