Update sgeupdated pipeline v6
All checks were successful
sgeUpdated Smoke Test / smoke-test (push) Successful in 6s
sgeUpdated CI/CD / deploy (push) Successful in 29s

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