@@ -11,20 +11,20 @@ CONFIG_PATH="deployment/config"
1111
1212cd " $( dirname " $0 " ) /../../"
1313
14- echo " --- 1. Ensuring frontend submodule is synchronized ---"
15- if [ -d " $FRONTEND_DIR " ] && [ ! -f " $FRONTEND_DIR /.git" ]; then
16- echo " Stale frontend directory detected (not a submodule). Removing and re-initializing..."
17- rm -rf " $FRONTEND_DIR "
18- git submodule update --init -- " $FRONTEND_DIR "
19- elif [ ! -d " $FRONTEND_DIR " ]; then
20- echo " Initializing frontend submodule..."
21- git submodule update --init -- " $FRONTEND_DIR "
22- else
23- echo " Frontend submodule exists."
24- fi
25- echo " Fetching latest from origin and resetting to origin/$FRONTEND_BRANCH ..."
26- (cd " $FRONTEND_DIR " && git fetch origin " $FRONTEND_BRANCH " && git reset --hard " origin/$FRONTEND_BRANCH " )
27- echo " Frontend at: $( cd " $FRONTEND_DIR " && git log --oneline -1) "
14+ # echo "--- 1. Ensuring frontend submodule is synchronized ---"
15+ # if [ -d "$FRONTEND_DIR" ] && [ ! -f "$FRONTEND_DIR/.git" ]; then
16+ # echo "Stale frontend directory detected (not a submodule). Removing and re-initializing..."
17+ # rm -rf "$FRONTEND_DIR"
18+ # git submodule update --init -- "$FRONTEND_DIR"
19+ # elif [ ! -d "$FRONTEND_DIR" ]; then
20+ # echo "Initializing frontend submodule..."
21+ # git submodule update --init -- "$FRONTEND_DIR"
22+ # else
23+ # echo "Frontend submodule exists."
24+ # fi
25+ # echo "Fetching latest from origin and resetting to origin/$FRONTEND_BRANCH..."
26+ # (cd "$FRONTEND_DIR" && git fetch origin "$FRONTEND_BRANCH" && git reset --hard "origin/$FRONTEND_BRANCH")
27+ # echo "Frontend at: $(cd "$FRONTEND_DIR" && git log --oneline -1)"
2828
2929echo " --- 2. Injecting Environment Configurations ---"
3030
0 commit comments