2021-11-13 01:44:38 +01:00
|
|
|
name: Bundle admin (owncast/owncast-admin)
|
2021-11-12 19:02:04 +01:00
|
|
|
on:
|
|
|
|
repository_dispatch:
|
|
|
|
types: [bundle-admin-event]
|
|
|
|
jobs:
|
2021-11-13 01:44:38 +01:00
|
|
|
bundle:
|
2021-11-12 19:02:04 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Bundle admin
|
2022-04-10 13:54:39 +02:00
|
|
|
uses: actions/checkout@v3
|
2021-11-12 19:02:04 +01:00
|
|
|
- run: build/admin/bundleAdmin.sh
|
|
|
|
|
|
|
|
- name: Commit changes
|
2022-04-10 09:56:40 +02:00
|
|
|
uses: EndBug/add-and-commit@v9
|
2021-11-12 19:02:04 +01:00
|
|
|
with:
|
|
|
|
author_name: Owncast
|
|
|
|
author_email: owncast@owncast.online
|
|
|
|
message: "Update admin to ${{ github.event.client_payload.sha }}"
|
|
|
|
add: "static/admin"
|
|
|
|
env:
|
2021-11-13 01:44:38 +01:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GH_CR_PAT }}
|