Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Add workflow for accepting bundle admin event

Gabe Kangasa8fc2790ff2a
diff --git a/.github/workflows/bundle-admin.yml b/.github/workflows/bundle-admin.yml
new file mode 100644
index 0000000000..29d6de069f
--- /dev/null
+++ b/.github/workflows/bundle-admin.yml
@@ -0,0 +1,22 @@
+name: Repository Dispatch
+on:
+ repository_dispatch:
+ types: [bundle-admin-event]
+jobs:
+ bundle-admin:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Bundle admin
+ uses: actions/checkout@v2
+ - run: build/admin/bundleAdmin.sh
+
+ - name: Commit changes
+ uses: EndBug/add-and-commit@v7
+ with:
+ author_name: Owncast
+ author_email: [email protected]
+ message: "Update admin to ${{ github.event.client_payload.sha }}"
+ add: "static/admin"
+ branch: "gek/bundle-admin-event"
+ env:
+ GITHUB_TOKEN: ${{ secrets.GH_CR_PAT }}
\ No newline at end of file