From b7f69cdd9b8d09d55be2dcbe699091a2a1510016 Mon Sep 17 00:00:00 2001 From: Kresimir Sutalo Date: Wed, 18 Sep 2024 13:16:39 +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 e263ed36..e91789ac 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: | - [[ "$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)