Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Brave Okafor committed Sep 24, 2023
1 parent 9dd9bf3 commit 7860d89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/terrraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
run: |
BRANCH_NAME="${{ github.head_ref || github.ref_name }}"
pwd
ls
if [ -f "tf-cfg.yaml" ]; then
TERRAFORM_DIR=$(cat tf-cfg.yaml | yq eval '.TERRAFORM_DIR')
BRANCH_CONFIG=$(cat tf-cfg.yaml | yq eval '.BRANCHES[] | select(.BRANCH == env(BRANCH_NAME))')
Expand Down

0 comments on commit 7860d89

Please sign in to comment.