mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-12-16 05:19:43 +01:00
bug fix: staging site issue
This commit is contained in:
@@ -636,7 +636,17 @@ install_cyberpanel_direct() {
|
||||
echo " LIVE INSTALLATION PROGRESS"
|
||||
echo "==============================================================================================================="
|
||||
echo ""
|
||||
|
||||
|
||||
# Set branch environment variable for the installer
|
||||
if [ -n "$BRANCH_NAME" ]; then
|
||||
export CYBERPANEL_BRANCH="$BRANCH_NAME"
|
||||
echo "Setting installation branch to: $BRANCH_NAME"
|
||||
else
|
||||
export CYBERPANEL_BRANCH="stable"
|
||||
echo "Using default stable branch"
|
||||
fi
|
||||
echo ""
|
||||
|
||||
# Run installer and show live output
|
||||
if [ "$DEBUG_MODE" = true ]; then
|
||||
./cyberpanel_installer.sh --debug 2>&1 | tee /var/log/CyberPanel/install_output.log
|
||||
|
||||
Reference in New Issue
Block a user