Fix problem with custom notification url.
This commit is contained in:
parent
44d6253c23
commit
69dcc79e00
|
@ -110,7 +110,7 @@ jobs:
|
||||||
roleId: ${{ secrets.VAULT_ROLE_ID }}
|
roleId: ${{ secrets.VAULT_ROLE_ID }}
|
||||||
secretId: ${{ secrets.VAULT_SECRET_ID }}
|
secretId: ${{ secrets.VAULT_SECRET_ID }}
|
||||||
secrets: |
|
secrets: |
|
||||||
${{ env.vault_main_base_path }} notification_url | MATTERMOST_WEBHOOK_URL ;
|
${{ env.vault_secrets_base_path }} notification_url | MATTERMOST_WEBHOOK_URL ;
|
||||||
|
|
||||||
- name: prepare failed notification body
|
- name: prepare failed notification body
|
||||||
if: ${{ inputs.notification_enabled && job.status == 'failure' }}
|
if: ${{ inputs.notification_enabled && job.status == 'failure' }}
|
||||||
|
|
|
@ -146,7 +146,7 @@ jobs:
|
||||||
roleId: ${{ secrets.VAULT_ROLE_ID }}
|
roleId: ${{ secrets.VAULT_ROLE_ID }}
|
||||||
secretId: ${{ secrets.VAULT_SECRET_ID }}
|
secretId: ${{ secrets.VAULT_SECRET_ID }}
|
||||||
secrets: |
|
secrets: |
|
||||||
${{ env.vault_main_base_path }} notification_url | MATTERMOST_WEBHOOK_URL ;
|
${{ env.vault_secrets_base_path }} notification_url | MATTERMOST_WEBHOOK_URL ;
|
||||||
|
|
||||||
- name: prepare success notification body
|
- name: prepare success notification body
|
||||||
uses: https://github.com/finnp/create-file-action@master
|
uses: https://github.com/finnp/create-file-action@master
|
||||||
|
|
Loading…
Reference in New Issue