From 288473fd8c536a5b3a67a72243f91d957f9989e8 Mon Sep 17 00:00:00 2001 From: Stanislav Melnichuk Date: Tue, 30 May 2023 11:27:19 +0300 Subject: [PATCH] Fix problem with notifications hook url. --- .gitea/workflows/werf-deploy-template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/werf-deploy-template.yml b/.gitea/workflows/werf-deploy-template.yml index b5951c6..5af2a20 100644 --- a/.gitea/workflows/werf-deploy-template.yml +++ b/.gitea/workflows/werf-deploy-template.yml @@ -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