Skip to content

Commit

Permalink
Chore: Add trigger workflow to update beta.pixijs.com (#9282)
Browse files Browse the repository at this point in the history
  • Loading branch information
baseten committed Mar 22, 2023
1 parent 3276685 commit a0fa856
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/trigger-website-build.yml
@@ -0,0 +1,23 @@
name: Trigger Website Build

on:
pull_request:
branches:
- dev
types: [ closed ]

jobs:
trigger-website-build:
if: github.event.pull_request.merged == true
runs-on: ubuntu-20.04
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2.1.1
with:
event-type: update-dev
repository: pixijs/beta.pixijs.com
token: ${{ secrets.PAT }}
client-payload: '{"sha": "${{ github.event.pull_request.head.sha }}"}'



0 comments on commit a0fa856

Please sign in to comment.