From c48c24329698e6a2d6cea4529ba42b4f358b0f78 Mon Sep 17 00:00:00 2001 From: Julien Francoz Date: Fri, 13 Sep 2024 09:41:37 +0200 Subject: [PATCH] fix variable name --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e0332764..b360e90e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -105,7 +105,7 @@ jobs: - name: HELM Deploy run: | set -o pipefail - if ! helm status $RELEASE_NAME &>/dev/null; then + if ! helm -n ${{ env.NAMESPACE }} status ${{ env.RELEASE_NAME }} &>/dev/null; then JWT_PASSPHRASE=$(openssl rand -base64 32) JWT_SECRET_KEY=$(openssl genpkey -pass file:<(echo "$JWT_PASSPHRASE") -aes256 -algorithm rsa -pkeyopt rsa_keygen_bits:4096) helm upgrade ${{ env.RELEASE_NAME }} ./helm/api-platform \