Use token

This commit is contained in:
Gabe Kangas
2022-05-12 15:21:46 -07:00
parent 4651422709
commit e0aa5f8522
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
name: Build admin app name: Build web app
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
run: run:

View File

@@ -27,9 +27,9 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Dispatch event to owncast/owncast - name: Dispatch event to web site
uses: peter-evans/repository-dispatch@v1 uses: peter-evans/repository-dispatch@v2
with: with:
token: ${{ secrets.ADMIN_BUNDLE_PAT }} token: ${{ secrets.BUNDLE_STORYBOOK_OWNCAST_ONLINE }}
repository: owncast/owncast.github.io repository: owncast/owncast.github.io
event-type: bundle-components-library event-type: bundle-components-library