chore: manually pull, rebase, and push
This commit is contained in:
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 }}-build-
|
||||||
${{ runner.os }}-
|
${{ runner.os }}-
|
||||||
|
|
||||||
- name: Bundle web app (next.js build)
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
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.
|
# Only commit built web project files on develop.
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
if: ${{ github.ref == 'refs/heads/develop' }}
|
if: ${{ github.ref == 'refs/heads/develop' }}
|
||||||
uses: EndBug/add-and-commit@v9
|
uses: EndBug/add-and-commit@v9
|
||||||
|
|
||||||
with:
|
with:
|
||||||
pull: --rebase --autostash
|
|
||||||
message: 'Bundle embedded web app'
|
message: 'Bundle embedded web app'
|
||||||
add: 'static/web'
|
add: 'static/web'
|
||||||
author_name: Owncast
|
author_name: Owncast
|
||||||
author_email: owncast@owncast.online
|
author_email: owncast@owncast.online
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
git pull --rebase
|
||||||
|
git push
|
||||||
|
|||||||
Reference in New Issue
Block a user