update to sgeupdated pipeline v17
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s

This commit is contained in:
2025-09-01 02:57:34 +03:00
parent 95afe7b877
commit 547ade53ae

View File

@@ -5,6 +5,11 @@ on:
push: push:
branches: branches:
- main # trigger only when code is merged into main - main # trigger only when code is merged into main
workflow_dispatch: # ✅ allow manual trigger
concurrency:
group: sgeupdated-deploy-${{ github.ref }} # ✅ prevent overlapping deploys for same branch
cancel-in-progress: true
jobs: jobs:
deploy: deploy:
@@ -20,7 +25,6 @@ jobs:
username: ${{ secrets.SERVER_USER }} username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }} key: ${{ secrets.SSH_PRIVATE_KEY }}
script_stop: true script_stop: true
script: | script: |
cd /home/ubuntu/sgeUpdated cd /home/ubuntu/sgeUpdated
git fetch origin main git fetch origin main