Fix problem with custom notification url.

This commit is contained in:
Stanislav Melnichuk 2023-08-24 12:47:46 +03:00
parent 69dcc79e00
commit ceb6af6860
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ jobs:
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}
secrets: |
${{ env.vault_secrets_base_path }} notification_url | MATTERMOST_WEBHOOK_URL ;
${{ inputs.vault_secrets_base_path }} notification_url | MATTERMOST_WEBHOOK_URL ;
- name: prepare failed notification body
if: ${{ inputs.notification_enabled && job.status == 'failure' }}

View File

@ -146,7 +146,7 @@ jobs:
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}
secrets: |
${{ env.vault_secrets_base_path }} notification_url | MATTERMOST_WEBHOOK_URL ;
${{ inputs.vault_secrets_base_path }} notification_url | MATTERMOST_WEBHOOK_URL ;
- name: prepare success notification body
uses: https://github.com/finnp/create-file-action@master