fix(pipeline): Pass new access token in a secure way, getrigger pipeline
This commit is contained in:
@@ -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: |
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
## Pipeline Triggering
|
||||
|
||||
Trigger count: 3
|
||||
Trigger count: 4
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
## Pipeline Triggering
|
||||
|
||||
Trigger count: 3
|
||||
Trigger count: 4
|
||||
|
||||
Reference in New Issue
Block a user