From 1893f0aa09bf46141e0800171b7ca88a35d68ae8 Mon Sep 17 00:00:00 2001 From: sarmstrong Date: Wed, 16 Sep 2026 14:40:58 +0300 Subject: [PATCH] Fix boolean false issue. --- .gitea/workflows/werf-deploy-template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/werf-deploy-template.yml b/.gitea/workflows/werf-deploy-template.yml index 058c4bd..0325916 100644 --- a/.gitea/workflows/werf-deploy-template.yml +++ b/.gitea/workflows/werf-deploy-template.yml @@ -99,7 +99,7 @@ jobs: werf helm repo add wilix-bitnami https://artifacts.wilix.dev/repository/helm-bitnami - name: Get werf secret key if need - if: ${{ inputs.has_secrets }} + if: ${{ fromJSON(inputs.has_secrets) == true }} uses: https://github.com/hashicorp/vault-action@v2 with: url: https://vault.wilix.dev @@ -110,7 +110,7 @@ jobs: ${{ inputs.vault_secrets_base_path }} ${{ inputs.werf_secret_key_vault_location }} | WERF_SECRET_KEY ; - name: Setup secrets if need - if: ${{ inputs.has_secrets }} + if: ${{ fromJSON(inputs.has_secrets) == true }} run: echo "WERF_SECRET_VALUES_STAND=.helm/secret-values-${{ inputs.stand_name }}.yaml" >> "$GITHUB_ENV" - name: Setup debug if need