forked from Abdulbari/sgeUpdated
Update sgeupdated pipeline v7
This commit is contained in:
@@ -34,7 +34,7 @@ jobs:
|
||||
# --- Backend ---
|
||||
if echo "${CHANGED_FILES}" | grep -q "sge-backend"; then
|
||||
echo "Backend changes detected..."
|
||||
cd sgeUpdated-backend
|
||||
cd sge-backend
|
||||
mvn clean install
|
||||
cd ..
|
||||
docker compose build --no-cache backend
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
# --- Frontend ---
|
||||
if echo "${CHANGED_FILES}" | grep -q "sge-frontend"; then
|
||||
echo "Frontend changes detected..."
|
||||
cd sgeUpdated-frontend
|
||||
cd sge-frontend
|
||||
if echo "${CHANGED_FILES}" | grep -q "sgeUpdated-frontend/package.json"; then
|
||||
echo "package.json changed → installing dependencies"
|
||||
npm install
|
||||
|
||||
Reference in New Issue
Block a user