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