Fix problem with notifications hook url.

This commit is contained in:
Stanislav Melnichuk 2023-05-30 11:27:19 +03:00
parent 7e88e0aa6b
commit 288473fd8c
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ jobs:
WERF_KUBECONFIG_BASE64: ${{ steps.import-secrets.outputs.local_cluster_kube_config_base64 }}
- name: Get notification url
if: ${{ inputs.notification_enabled }}
if: ${{ inputs.notification_enabled && (job.status == 'success' || job.status == 'failure') }}
uses: https://github.com/hashicorp/vault-action@v2
with:
url: https://vault.wilix.dev