Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Remove old web workflows and add new ones
Gabe Kangas10896cb5e24a
diff --git a/web/.github/workflows/build-next.yml b/.github/workflows/build-next.ymlsimilarity index 80%rename from web/.github/workflows/build-next.ymlrename to .github/workflows/build-next.ymlindex cead8518e1..c34deb6d14 100644--- a/web/.github/workflows/build-next.yml+++ b/.github/workflows/build-next.yml@@ -9,4 +9,4 @@ jobs:uses: actions/checkout@v2- name: Install dependencies- run: npm install && npm run build+ run: cd web && npm install && npm run builddiff --git a/.github/workflows/bundle-admin.yml b/.github/workflows/bundle-admin.ymldeleted file mode 100644index 25cf0b85bd..0000000000--- a/.github/workflows/bundle-admin.yml+++ /dev/null@@ -1,21 +0,0 @@-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@v3- - run: build/admin/bundleAdmin.sh-- - name: Commit changes- uses: EndBug/add-and-commit@v9- with:- author_name: Owncast- author_email: [email protected]- message: "Update admin to ${{ github.event.client_payload.sha }}"- add: "static/admin"- env:- GITHUB_TOKEN: ${{ secrets.GH_CR_PAT }}diff --git a/.github/workflows/lint.yml b/.github/workflows/go-lint.ymlsimilarity index 94%rename from .github/workflows/lint.ymlrename to .github/workflows/go-lint.ymlindex 04c40a2952..f21d0115c5 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/go-lint.yml@@ -22,3 +22,4 @@ jobs:uses: golangci/golangci-lint-action@v2with:only-new-issues: true+ args: --timeout=3mdiff --git a/.github/workflows/javascript-formatting.yml b/.github/workflows/javascript-formatting.ymlindex d5e298b877..272d2b34e6 100644--- a/.github/workflows/javascript-formatting.yml+++ b/.github/workflows/javascript-formatting.yml@@ -24,6 +24,7 @@ jobs:with:# This part is also where you can pass other options, for example:prettier_options: --write webroot/**/*.{js,md}+ working_directory: webonly_changed: trueenv:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/.github/workflows/javascript-packages.yaml b/.github/workflows/javascript-packages.yamldeleted file mode 100644index 153bd74393..0000000000--- a/.github/workflows/javascript-packages.yaml+++ /dev/null@@ -1,33 +0,0 @@-name: javascript-packages-on:- push:- paths:- - build/javascript/package.json--jobs:- run:- if: ${{ github.actor != 'dependabot[bot]' }}- name: npm run build- runs-on: ubuntu-latest- steps:- - name: Checkout repo- uses: actions/checkout@v3- with:- # Make sure the actual branch is checked out when running on pull requests- ref: ${{ github.head_ref }}-- - name: Build dependencies- uses: actions/setup-node@v3- with:- node-version: '12'- - run: cd build/javascript && npm run build-- - name: Commit changes- uses: EndBug/add-and-commit@v9- with:- author_name: Owncast- author_email: [email protected]- message: "Commit updated Javascript packages"- add: "build/javascript/package* webroot/js/web_modules"- env:- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/web/.github/stale.yml b/web/.github/stale.ymldeleted file mode 100644index 525166199d..0000000000--- a/web/.github/stale.yml+++ /dev/null@@ -1,27 +0,0 @@-# Number of days of inactivity before an issue becomes stale-daysUntilStale: 60-# Number of days of inactivity before a stale issue is closed-daysUntilClose: 7-# Issues with these labels will never be considered stale-exemptLabels:- - backlog-# Label to use when marking an issue as stale-staleLabel: stale-# Comment to post when marking an issue as stale. Set to `false` to disable-markComment: >- This issue has been automatically marked as stale because it has not had- recent activity. It will be closed if no further activity occurs. Thank you- for your contributions.-# Comment to post when closing a stale issue. Set to `false` to disable-closeComment: false-exemptMilestones: true--# Since old PRs are less useful than old issues ping them sooner.-pulls:- daysUntilStale: 30- markComment: >- This pull request has not had any activity in 30 days. Since things move fast it's best- to get PRs merged in, or to allow somebody else to work on it so the change can get in.- This PR will be closed if no further activity occurs. Thank you for your contributions!- exemptLabels:- - botdiff --git a/web/.github/workflows/bundle-admin.yml b/web/.github/workflows/bundle-admin.ymldeleted file mode 100644index 0b59d94285..0000000000--- a/web/.github/workflows/bundle-admin.yml+++ /dev/null@@ -1,16 +0,0 @@-name: Bundle admin into core-on:- push:- branches:- - develop-jobs:- dispatch:- runs-on: ubuntu-latest- steps:- - name: Dispatch event to owncast/owncast- uses: peter-evans/repository-dispatch@v1- with:- token: ${{ secrets.ADMIN_BUNDLE_PAT }}- repository: owncast/owncast- event-type: bundle-admin-event- client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'diff --git a/web/.github/workflows/linter.yml b/web/.github/workflows/linter.ymldeleted file mode 100644index e78bfabdb0..0000000000--- a/web/.github/workflows/linter.yml+++ /dev/null@@ -1,18 +0,0 @@-name: linter--# This action works with pull requests and pushes-on: [push, pull_request]--jobs:- run-test:- runs-on: ubuntu-latest- name: Run linter on changed files- steps:- - name: Checkout- uses: actions/checkout@v2-- - name: Install Dependencies- run: npm install-- - name: Lint- run: npm run lintdiff --git a/web/.github/workflows/prettier.yml b/web/.github/workflows/prettier.ymldeleted file mode 100644index e0e9547557..0000000000--- a/web/.github/workflows/prettier.yml+++ /dev/null@@ -1,25 +0,0 @@-name: javascript-formatter--on: [push]--jobs:- format:- if: ${{ github.actor != 'dependabot[bot]' }}- runs-on: ubuntu-latest-- steps:- - name: Checkout- uses: actions/checkout@v2- with:- ref: ${{ github.ref }}- fetch-depth: 0-- - name: Prettier- uses: creyD/[email protected]- with:- # This part is also where you can pass other options, for example:- prettier_options: --write **/*.{js,tsx,jsx,css,scss}- ref: ${{ github.head_ref }}- only_changed: true- env:- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}