From 1ae3d7678160e27bfdd5da89e722562009e448dc Mon Sep 17 00:00:00 2001 From: Abdulbari Date: Fri, 24 Oct 2025 18:03:14 +0300 Subject: [PATCH] Update sgeupdated pipeline v22-+ --- .gitea/workflows/sgeupdated.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/sgeupdated.yml b/.gitea/workflows/sgeupdated.yml index 13d680d..5d25b07 100644 --- a/.gitea/workflows/sgeupdated.yml +++ b/.gitea/workflows/sgeupdated.yml @@ -7,12 +7,10 @@ on: jobs: deploy: - # 'ubuntu-latest' is a common name for runners. - # Check with your Gitea admin if you have a different runner tag. + runs-on: ubuntu-latest steps: - # Gitea automatically checks out your code, so we don't need 'actions/checkout' - name: Setup SSH run: | @@ -23,7 +21,6 @@ jobs: echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - # Add your server's host key to known_hosts to avoid the 'yes/no' prompt # This is a critical step for automation ssh-keyscan ${{ secrets.SERVER_HOST }} >> ~/.ssh/known_hosts @@ -86,8 +83,8 @@ jobs: echo "⚡ Frontend changes detected. Rebuilding frontend..." cd sge-frontend echo "Running npm install and build..." - npm install - npm run build + #npm install + #npm run build cd .. echo "Rebuilding frontend Docker container..." docker compose up -d --build bgreen-frontend