2021-11-13 03:44:38 +03:00
|
|
|
name: Bundle admin (owncast/owncast-admin)
|
2021-11-12 21:02:04 +03:00
|
|
|
on:
|
|
|
|
repository_dispatch:
|
|
|
|
types: [bundle-admin-event]
|
|
|
|
jobs:
|
2021-11-13 03:44:38 +03:00
|
|
|
bundle:
|
2021-11-12 21:02:04 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Bundle admin
|
2022-04-10 14:54:39 +03:00
|
|
|
uses: actions/checkout@v3
|
2021-11-12 21:02:04 +03:00
|
|
|
- run: build/admin/bundleAdmin.sh
|
|
|
|
|
|
|
|
- name: Commit changes
|
2022-04-10 10:56:40 +03:00
|
|
|
uses: EndBug/add-and-commit@v9
|
2021-11-12 21:02:04 +03: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 03:44:38 +03:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GH_CR_PAT }}
|