mirror of
https://gitlab.com/octtspacc/sitoctt
synced 2025-06-05 22:09:20 +02:00
Fixes to search, local-file-tweaks, test ajax-navigation, update Buttons, add offline.zip packaging
This commit is contained in:
14
Scripts/Package.sh
Executable file
14
Scripts/Package.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$(realpath "$0")")/Lib/Globals.sh"
|
||||
cd "${swd}/.."
|
||||
|
||||
export sitocttEnv=Offline
|
||||
export HUGO_ENV=production
|
||||
sh "${swd}/Clean.sh"
|
||||
sh "${swd}/Update.sh"
|
||||
|
||||
cd ./build/public
|
||||
#zip -9 -r ./offline.zip *
|
||||
7z a -tzip -mcp=437 -mx9 ./offline.zip *
|
||||
|
||||
cd "${owd}"
|
Reference in New Issue
Block a user