From ff6e5243df64a583723ce285de6fb85ebb335168 Mon Sep 17 00:00:00 2001 From: Kresimir Sutalo Date: Wed, 18 Sep 2024 13:17:43 +0200 Subject: [PATCH] fix: pipeline --- .github/workflows/terraform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index e91789ac..f9816ac4 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -49,7 +49,7 @@ jobs: - name: 'Terraform Init' working-directory: ${{github.event.inputs.directory}} run: | - [[ basename $PWD == terraform ]] && source scripts/helper.sh + [[ $(basename $PWD) == terraform ]] && source scripts/helper.sh export RESOURCE_GROUP_NAME=$(extract_value "resource_group_name" config.azurerm.tfbackend) export STORAGE_ACCOUNT_NAME=$(extract_value "storage_account_name" config.azurerm.tfbackend)