Update .gitea/workflows/sgeupdated.yml

This commit is contained in:
2025-10-25 23:52:38 +03:00
parent 7bee15a901
commit f585763563

View File

@@ -65,18 +65,18 @@ jobs:
fi fi
# Backend section # # Backend section
if [ "$BACKEND_CHANGED" = true ]; then # if [ "$BACKEND_CHANGED" = true ]; then
echo "⚡ Backend changes detected. Rebuilding backend..." # echo "⚡ Backend changes detected. Rebuilding backend..."
cd sge-backend # cd sge-backend
echo "Running Maven build..." # echo "Running Maven build..."
/opt/apache-maven-3.9.11/bin/mvn clean install -DskipTests # /opt/apache-maven-3.9.11/bin/mvn clean install -DskipTests
cd .. # cd ..
echo "Rebuilding backend Docker container..." # echo "Rebuilding backend Docker container..."
docker compose up -d --build bgreen-backend # docker compose up -d --build bgreen-backend
else # else
echo "✅ No backend changes." # echo "✅ No backend changes."
fi # fi
# Frontend section # Frontend section
if [ "$FRONTEND_CHANGED" = true ]; then if [ "$FRONTEND_CHANGED" = true ]; then