Update .gitea/workflows/sgeupdated.yml
All checks were successful
sgeUpdated CI/CD / deploy (push) Successful in 7s

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
# Backend section
if [ "$BACKEND_CHANGED" = true ]; then
echo "⚡ Backend changes detected. Rebuilding backend..."
cd sge-backend
echo "Running Maven build..."
/opt/apache-maven-3.9.11/bin/mvn clean install -DskipTests
cd ..
echo "Rebuilding backend Docker container..."
docker compose up -d --build bgreen-backend
else
echo "✅ No backend changes."
fi
# # Backend section
# if [ "$BACKEND_CHANGED" = true ]; then
# echo "⚡ Backend changes detected. Rebuilding backend..."
# cd sge-backend
# echo "Running Maven build..."
# /opt/apache-maven-3.9.11/bin/mvn clean install -DskipTests
# cd ..
# echo "Rebuilding backend Docker container..."
# docker compose up -d --build bgreen-backend
# else
# echo "✅ No backend changes."
# fi
# Frontend section
if [ "$FRONTEND_CHANGED" = true ]; then