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