update website

This commit is contained in:
ehab-hassan
2025-08-24 13:47:03 +03:00
commit 9b5aefeb91
142 changed files with 24225 additions and 0 deletions

16
build.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
cd "$(dirname "$0")"
PREFIX="ourhero"
echo "building for folder: /$PREFIX/"
export VITE_APP_BASE_URL="/$PREFIX"
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 dist/ "root@threefold.info:/root/hero/www/info/$PREFIX/"