From ceb6af686060ae6a2daaad7eef73b3e9d0a340aa Mon Sep 17 00:00:00 2001 From: Stanislav Melnichuk Date: Thu, 24 Aug 2023 12:47:46 +0300 Subject: [PATCH] Fix problem with custom notification url. --- .gitea/workflows/java-pull-request-check-template.yml | 2 +- .gitea/workflows/werf-deploy-template.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/java-pull-request-check-template.yml b/.gitea/workflows/java-pull-request-check-template.yml index 4768a0f..9a26504 100644 --- a/.gitea/workflows/java-pull-request-check-template.yml +++ b/.gitea/workflows/java-pull-request-check-template.yml @@ -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' }} diff --git a/.gitea/workflows/werf-deploy-template.yml b/.gitea/workflows/werf-deploy-template.yml index 4f8aa1c..7874838 100644 --- a/.gitea/workflows/werf-deploy-template.yml +++ b/.gitea/workflows/werf-deploy-template.yml @@ -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