Fixed webhook uri getting from vault issue.
This commit is contained in:
parent
569cc05d5c
commit
dd82b90e27
|
@ -31,6 +31,9 @@ on:
|
|||
VAULT_SECRET_ID:
|
||||
required: true
|
||||
|
||||
env:
|
||||
vault_main_base_path: dev/wilix/main/data/ci
|
||||
|
||||
jobs:
|
||||
check:
|
||||
name: check and test
|
||||
|
@ -91,7 +94,7 @@ jobs:
|
|||
roleId: ${{ secrets.VAULT_ROLE_ID }}
|
||||
secretId: ${{ secrets.VAULT_SECRET_ID }}
|
||||
secrets: |
|
||||
dev/wilix/main/ci notification_url | MATTERMOST_WEBHOOK_URL ;
|
||||
${{ env.vault_main_base_path }} notification_url | MATTERMOST_WEBHOOK_URL ;
|
||||
|
||||
- name: prepare failed notification body
|
||||
if: ${{ inputs.notification_enabled && job.status == 'failure' }}
|
||||
|
|
|
@ -51,6 +51,9 @@ on:
|
|||
VAULT_SECRET_ID:
|
||||
required: true
|
||||
|
||||
env:
|
||||
vault_main_base_path: dev/wilix/main/data/ci
|
||||
|
||||
jobs:
|
||||
converge:
|
||||
name: Deploy stand
|
||||
|
@ -127,7 +130,7 @@ jobs:
|
|||
roleId: ${{ secrets.VAULT_ROLE_ID }}
|
||||
secretId: ${{ secrets.VAULT_SECRET_ID }}
|
||||
secrets: |
|
||||
dev/wilix/main/ci notification_url | MATTERMOST_WEBHOOK_URL ;
|
||||
${{ env.vault_main_base_path }} notification_url | MATTERMOST_WEBHOOK_URL ;
|
||||
|
||||
- name: prepare success notification body
|
||||
uses: https://github.com/finnp/create-file-action@master
|
||||
|
|
Loading…
Reference in New Issue