From 3412822bc8c763adc20d2fd0a67c393020814781 Mon Sep 17 00:00:00 2001 From: Tuna Cinsoy Date: Fri, 26 Jul 2024 21:19:00 +0300 Subject: [PATCH] fix: workspace selection correction --- .github/workflows/create-cluster.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-cluster.yml b/.github/workflows/create-cluster.yml index b9b6e98..a3f762e 100644 --- a/.github/workflows/create-cluster.yml +++ b/.github/workflows/create-cluster.yml @@ -40,7 +40,7 @@ jobs: - name: Terraform Workspace id: terraform-workspace - run: terraform workspace select ${GITHUB_REF##*/} || terraform workspace new ${GITHUB_REF##*/} + run: terraform workspace select ${{ steps.get_branch.outputs.branch }} || terraform workspace new ${{ steps.get_branch.outputs.branch }} env: GOOGLE_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}