Switch auth to bincio-auth JWT; fix login redirect to bincio.org
This commit is contained in:
@@ -10,7 +10,7 @@ VPS=root@95.216.55.151
|
||||
|
||||
# ── Frontend ──────────────────────────────────────────────────────────────────
|
||||
echo "Building frontend…"
|
||||
VITE_ACTIVITY_URL=https://activity.bincio.org VITE_PLANNER_API_URL= npm run build
|
||||
VITE_ACTIVITY_URL=https://activity.bincio.org VITE_AUTH_URL=https://bincio.org VITE_PLANNER_API_URL= npm run build
|
||||
|
||||
echo "Deploying frontend…"
|
||||
rsync -az --delete dist/ "$VPS:/var/www/planner/"
|
||||
@@ -23,6 +23,7 @@ if [[ -z "$SERVER_DIR" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
rsync -az server/server.py server/pyproject.toml "$VPS:$SERVER_DIR/"
|
||||
ssh "$VPS" "cd $SERVER_DIR && uv sync -q"
|
||||
|
||||
echo "Restarting bincio-planner.service…"
|
||||
ssh "$VPS" "systemctl restart bincio-planner.service && systemctl is-active bincio-planner.service"
|
||||
|
||||
Reference in New Issue
Block a user