mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 20:28:15 +03:00
chore: manually pull, rebase, and push
This commit is contained in:
parent
6b9e070811
commit
401d0bb44e
1 changed files with 13 additions and 4 deletions
17
.github/workflows/javascript-format-build.yml
vendored
17
.github/workflows/javascript-format-build.yml
vendored
|
@ -144,18 +144,27 @@ jobs:
|
|||
${{ runner.os }}-build-
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Bundle web app (next.js build)
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- run: build/web/bundleWeb.sh
|
||||
with:
|
||||
# Make sure the actual branch is checked out when running on pull requests
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Bundle web app (next.js build)
|
||||
run: build/web/bundleWeb.sh
|
||||
|
||||
# Only commit built web project files on develop.
|
||||
- name: Commit changes
|
||||
if: ${{ github.ref == 'refs/heads/develop' }}
|
||||
uses: EndBug/add-and-commit@v9
|
||||
|
||||
with:
|
||||
pull: --rebase --autostash
|
||||
message: 'Bundle embedded web app'
|
||||
add: 'static/web'
|
||||
author_name: Owncast
|
||||
author_email: owncast@owncast.online
|
||||
|
||||
- run: |
|
||||
git pull --rebase
|
||||
git push
|
||||
|
|
Loading…
Reference in a new issue