Update sgeupdated pipeline v6

Some mistakes in directory
This commit is contained in:
2025-08-29 19:20:39 +03:00
parent 7148bdf834
commit f12c5cb8d4

View File

@@ -28,11 +28,11 @@ jobs:
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd /path/to/your/project
cd /home/ubuntu/sgeUpdated
git pull origin main
# --- Backend ---
if echo "${CHANGED_FILES}" | grep -q "sgeUpdated-backend"; then
if echo "${CHANGED_FILES}" | grep -q "sge-backend"; then
echo "Backend changes detected..."
cd sgeUpdated-backend
mvn clean install
@@ -42,7 +42,7 @@ jobs:
fi
# --- Frontend ---
if echo "${CHANGED_FILES}" | grep -q "sgeUpdated-frontend"; then
if echo "${CHANGED_FILES}" | grep -q "sge-frontend"; then
echo "Frontend changes detected..."
cd sgeUpdated-frontend
if echo "${CHANGED_FILES}" | grep -q "sgeUpdated-frontend/package.json"; then