Added github webhooks to relaod on change

TODO: Reset cache on change
This commit is contained in:
Simon Martens
2025-02-17 17:00:13 +01:00
parent 0e8891170e
commit d109f7a040
8 changed files with 153 additions and 17 deletions

13
scripts/build.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
rm -rf ./bin
npm --prefix ./views install
npm --prefix ./views run build -- --config vite.config.js
mkdir -p ./bin
go build -o ./bin/kgpz .
if [ -f ./config.json ]; then
cp ./config.json bin/config.json
else
cp ./config.dev.json ./bin/config.json
fi