[GitHub] Update pages workflow to only deploy on main and beta (#6386)

This commit is contained in:
NightKev 2025-08-23 20:28:42 -07:00 committed by GitHub
parent 58d1209d92
commit 8dea0ce840
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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