pokerogue/.github/workflows/post-release-deleted.yml
Sirz Benjie 9283be652d
[GitHub] Create release action workflows (#5743)
* Create release actions

* Add release branch to push/pull events that invoke test workflows
2025-05-03 08:47:04 +00:00

12 lines
497 B
YAML

name: Post Release Deleted
on:
delete:
jobs:
# Set the BETA_DEPLOY_BRANCH variable to beta when a release branch is deleted
update-release-var:
if: github.repository == 'pagefaultgames/pokerogue' && github.event.ref_type == 'branch' && github.event.ref == 'release'
runs-on: ubuntu-latest
steps:
- name: Set BETA_DEPLOY_BRANCH to beta
run: GITHUB_TOKEN="${{ secrets.RW_VARS_PAT }}" gh variable set BETA_DEPLOY_BRANCH --body "beta" --repo "pagefaultgames/pokerogue"