Fixed build on cloud
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user