From cf6c0085197aac7fe67197b001e4bf5646da9223 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Tue, 18 Nov 2025 15:23:00 +0100 Subject: [PATCH] fix(pipeline): Pass new access token in a secure way, getrigger pipeline --- .gitea/workflows/deploy.yaml | 3 ++- legalconsenthub-backend/README.md | 2 +- legalconsenthub/README.md | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 325e46f..19f42f7 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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: | diff --git a/legalconsenthub-backend/README.md b/legalconsenthub-backend/README.md index 553c800..02a067a 100644 --- a/legalconsenthub-backend/README.md +++ b/legalconsenthub-backend/README.md @@ -2,4 +2,4 @@ ## Pipeline Triggering -Trigger count: 3 +Trigger count: 4 diff --git a/legalconsenthub/README.md b/legalconsenthub/README.md index 98f619e..a4110a7 100644 --- a/legalconsenthub/README.md +++ b/legalconsenthub/README.md @@ -2,4 +2,4 @@ ## Pipeline Triggering -Trigger count: 3 +Trigger count: 4