Send dispatch event to core repo to bundle admin

This commit is contained in:
Gabe Kangas 2021-11-12 10:04:47 -08:00
parent 7a712a7ae3
commit 683e55b57d

13
web/.github/workflows/bundle-admin.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Bundle admin into core
on: [push]
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Dispatch event to owncast/owncast
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.ADMIN_BUNDLE_PAT }}
repository: owncast/owncast
event-type: bundle-admin-event
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'