forked from Abdulbari/sgeUpdated
Update .gitea/workflows/sgeupdated.yml
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user