diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 55ff05d7726..8d1c5a84962 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -69,7 +69,7 @@ jobs: pnpm exec typedoc --out /tmp/docs --githubPages false --entryPoints ./src/ - name: Commit & Push docs - if: github.event_name == 'push' + if: github.event_name == 'push' && (github.ref_name == 'beta' || github.ref_name == 'main') run: | cd pokerogue_gh git config user.email "github-actions[bot]@users.noreply.github.com"