owncast/.github/workflows/bundle-admin.yml

22 lines
586 B
YAML
Raw Normal View History

2021-11-13 01:44:38 +01:00
name: Bundle admin (owncast/owncast-admin)
on:
repository_dispatch:
types: [bundle-admin-event]
jobs:
2021-11-13 01:44:38 +01:00
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:
2021-11-13 01:44:38 +01:00
GITHUB_TOKEN: ${{ secrets.GH_CR_PAT }}