forked from BLC/sgeUpdated
update to sgeupdated pipeline v17
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s
Some checks failed
sgeUpdated CI/CD / deploy (push) Failing after 22s
This commit is contained in:
@@ -5,6 +5,11 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- 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:
|
||||
deploy:
|
||||
@@ -20,7 +25,6 @@ jobs:
|
||||
username: ${{ secrets.SERVER_USER }}
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
script_stop: true
|
||||
|
||||
script: |
|
||||
cd /home/ubuntu/sgeUpdated
|
||||
git fetch origin main
|
||||
|
||||
Reference in New Issue
Block a user