This commit is contained in:
2025-08-14 12:56:26 +02:00
parent 3657932051
commit 0310ecfb31
16 changed files with 5641 additions and 373 deletions

18
build.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
cd "$(dirname "$0")"
PREFIX="threefold"
echo "building for folder: /$PREFIX/"
export NEXT_PUBLIC_BASE_PATH="/$PREFIX"
# mkdir -p "out"
# pnpm install --frozen-lockfile
pnpm run build
# local mirror (optional)
# rsync -rav --delete dist/ "${HOME}/hero/var/www/$PREFIX/"
# deploy to threefold server
rsync -avz --delete out/ "root@threefold.info:/root/hero/www/info/$PREFIX/"