Skip to content

Commit

Permalink
build changes
Browse files Browse the repository at this point in the history
  • Loading branch information
FFCoder committed Aug 30, 2024
1 parent 4114239 commit ad8a134
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pushToDockerhubOnCommit.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Build Binaries
name: Build Binaries on Commit

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pushToDockerhubOnMain.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Build Binaries
name: Build Binaries on Main

on:
push:
Expand Down
8 changes: 7 additions & 1 deletion build_prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ export CGO_ENABLED=1 # Required for sqlite3
if ! command -v pnpm &> /dev/null
then
echo "pnpm could not be found"
exit 1
echo "attempting to install pnpm"
npm install -g pnpm
if ! command -v pnpm &> /dev/null
then
echo "pnpm failed to install"
exit 1
fi
fi

# Make the output
Expand Down

0 comments on commit ad8a134

Please sign in to comment.