From d26ca12e0cce5fc03872757d49eaf2d979f6006e Mon Sep 17 00:00:00 2001 From: Abdulbari Date: Fri, 24 Oct 2025 15:35:57 +0300 Subject: [PATCH] Update sgeupdated pipeline v22- --- .gitea/workflows/sgeupdated.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/sgeupdated.yml b/.gitea/workflows/sgeupdated.yml index 20252f0..13d680d 100644 --- a/.gitea/workflows/sgeupdated.yml +++ b/.gitea/workflows/sgeupdated.yml @@ -38,11 +38,11 @@ jobs: cd /home/ubuntu/Bgreen/sgeUpdated # 1. Fetch the latest code - git fetch origin main + git fetch myfork main # 2. See what files changed between your current version (HEAD) and the new one (origin/main) # We add '|| true' in case there are no diffs, which would stop 'set -e' - CHANGED_FILES=$(git diff --name-only HEAD origin/main) || true + CHANGED_FILES=$(git diff --name-only HEAD myfork/main) || true if [ -z "$CHANGED_FILES" ]; then echo "No file changes detected between HEAD and origin/main." @@ -52,7 +52,7 @@ jobs: fi # 3. Update the local repository to the new version - git reset --hard origin/main + git reset --hard myfork/main BACKEND_CHANGED=false FRONTEND_CHANGED=false