fix CI build #2
parent
8dcc474f1c
commit
b27fcecb78
|
@ -24,10 +24,10 @@ lint:backend:
|
|||
- make backend_lint
|
||||
rules:
|
||||
- changes:
|
||||
- migrations/**/*
|
||||
- src/**/*
|
||||
- Cargo.lock
|
||||
- Makefile
|
||||
- migrations/**/*
|
||||
- src/**/*
|
||||
- Cargo.lock
|
||||
- Makefile
|
||||
allow_failure: true
|
||||
|
||||
#lint:frontend:
|
||||
|
@ -63,7 +63,7 @@ build:frontend:
|
|||
- make frontend
|
||||
artifacts:
|
||||
paths:
|
||||
- ui/dist
|
||||
- ui/public
|
||||
expire_in: 1 day
|
||||
only:
|
||||
changes:
|
||||
|
|
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ package: target/release/upend ui/dist/index.html
|
|||
rm -fr dist
|
||||
linuxdeploy-x86_64.AppImage --appdir dist
|
||||
cp target/release/upend dist/usr/bin/upend
|
||||
cp -r ui/dist dist/usr/bin/webui
|
||||
cp -r ui/public dist/usr/bin/webui
|
||||
cp upend.png dist/usr/share/icons/upend.png
|
||||
VERSION="$$(grep '^version' Cargo.toml|grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')" \
|
||||
linuxdeploy-x86_64.AppImage --appdir dist -d upend.desktop --output appimage
|
||||
|
|
Loading…
Reference in New Issue