fix(pipeline): Pass new access token in a secure way, getrigger pipeline

This commit is contained in:
2025-11-18 15:23:00 +01:00
parent fd35136795
commit cf6c008519
3 changed files with 4 additions and 3 deletions

View File

@@ -27,7 +27,8 @@ jobs:
- name: Deploy to server
run: |
ssh -p 32766 -o StrictHostKeyChecking=accept-new deploy@ds218 'sudo /usr/local/bin/deployLegalconsenthub.sh'
ssh -i ~/.ssh/id_rsa -p 32766 -o StrictHostKeyChecking=accept-new deploy@ds218 \
"SYNOLOGY_DEPLOY_PULL_IMAGE_TOKEN='${{ secrets.SYNOLOGY_DEPLOY_PULL_IMAGE_TOKEN }}' sudo -E /usr/local/bin/deployLegalconsenthub.sh"
- name: Deployment successful
run: |

View File

@@ -2,4 +2,4 @@
## Pipeline Triggering
Trigger count: 3
Trigger count: 4

View File

@@ -2,4 +2,4 @@
## Pipeline Triggering
Trigger count: 3
Trigger count: 4