mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 22:31:09 +03:00
23 lines
489 B
YAML
23 lines
489 B
YAML
name: Build and bundle web app into Owncast
|
|
on:
|
|
push:
|
|
branches:
|
|
- webv2
|
|
- develop
|
|
paths:
|
|
- web/**
|
|
|
|
jobs:
|
|
bundle:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Bundle web app (next.js build)
|
|
uses: actions/checkout@v3
|
|
- run: build/web/bundleWeb.sh
|
|
|
|
- name: Commit changes
|
|
uses: EndBug/add-and-commit@v9
|
|
with:
|
|
pull: --rebase --autostash
|
|
message: 'Bundle embedded web app'
|
|
add: 'static/web'
|