build: include latest banner automatically

now copied from images/ into static/ on build.
pull/297/head
Harvey Tindall 6 months ago
parent 8f3c723b07
commit 62e27c394d
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

1
.gitignore vendored

@ -25,3 +25,4 @@ scripts/langmover/lang
scripts/langmover/lang2
scripts/langmover/out
tinyproxy.conf
static/banner.svg

@ -11,6 +11,7 @@ before:
- go mod download
- rm -rf data/web
- mkdir -p data/web/css
- cp images/banner.svg static/banner.svg
- bash -c 'cp -r static/* data/web/'
- npm install
- npm install esbuild

@ -167,6 +167,7 @@ copy:
mv $(DATA)/crash.html $(DATA)/html/
$(info copying static data)
mkdir -p $(DATA)/web
cp images/banner.svg static/banner.svg
cp -r static/* $(DATA)/web/
$(info copying systemd service)
cp jfa-go.service $(DATA)/

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 58 KiB

Loading…
Cancel
Save