Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions .github/workflows/fullBuild.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Build and Push To Full Build branch
on: [push, workflow_dispatch]
on:
push:
branches:
- full-build
workflow_dispatch:
jobs:
build:
name: Build and Push To Full Build branch
Expand All @@ -11,10 +15,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: full-build
- name: Submodule Update
run: git submodule update --init --recursive
- name: Checkout Full Build Branch
run: git checkout full-build
- name: Setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -24,7 +28,7 @@ jobs:
with:
ruby-version: '3.2.2'
- name: Install other things
run: apt-get install -y build-essential libpq-dev
run: sudo apt update && sudo apt install -y build-essential libpq-dev
- name: Install PNPM
run: npm install -g pnpm
- name: Install
Expand All @@ -35,8 +39,8 @@ jobs:
make
- name: Commit to branch
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "Build"
git push origin full-build
git commit -m "Build from Github Actions"
git push
1 change: 1 addition & 0 deletions src/public/js/updates.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ function getLatestRelease() {
if (userVersion != data.version || userVersion == null || userVersion == undefined) {
localStorage.setItem('updated', true);
localStorage.setItem('version', data.version);
console.log("Updated to version " + data.version);
}
});
}
Expand Down