Fixed build on cloud

This commit is contained in:
2025-04-06 14:46:42 +00:00
parent ea93adc4c8
commit 192ade72ee
3 changed files with 61 additions and 11 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/bash
trap 'return 1' ERR
# Check if required environment variables are set
if [ -z "$SIA_REPO_URL" ]; then
echo "Error: SIA_REPO_URL environment variable is not set"
@@ -67,7 +69,7 @@ npm run build
ln -s "/root/sia/web/dist" "/root/static"
# Install SIA dependencies
cd /root/sia/desktop
cd /root/desktop
source "/root/sia/scripts/install.sh"
# Add venvs to path in .bashrc