mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 11:39:08 +03:00
21 lines
586 B
YAML
21 lines
586 B
YAML
name: Bundle admin (owncast/owncast-admin)
|
|
on:
|
|
repository_dispatch:
|
|
types: [bundle-admin-event]
|
|
jobs:
|
|
bundle:
|
|
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: owncast@owncast.online
|
|
message: "Update admin to ${{ github.event.client_payload.sha }}"
|
|
add: "static/admin"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GH_CR_PAT }}
|