2022-08-16 04:47:31 +02:00
|
|
|
name: Build and bundle web app into Owncast
|
2022-06-20 00:30:32 +02:00
|
|
|
on:
|
2022-08-16 04:23:42 +02:00
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- web/**
|
|
|
|
|
2022-06-20 00:30:32 +02:00
|
|
|
jobs:
|
|
|
|
bundle:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-08-16 04:23:42 +02:00
|
|
|
- name: Bundle web app (next.js build)
|
2022-06-20 00:30:32 +02:00
|
|
|
uses: actions/checkout@v3
|
|
|
|
- run: build/web/bundleWeb.sh
|
|
|
|
|
|
|
|
- name: Commit changes
|
|
|
|
uses: EndBug/add-and-commit@v9
|
|
|
|
with:
|
2022-08-16 04:23:42 +02:00
|
|
|
message: 'Bundle embedded web app'
|
2022-06-20 00:30:32 +02:00
|
|
|
add: 'static/web'
|