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 f3f7b74 commit c523b31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/terrraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ jobs:
run: |
BRANCH_NAME="${{ github.head_ref || github.ref_name }}"
pwd
echo "$(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 All @@ -68,6 +65,9 @@ jobs:
echo "should_apply: $SHOULD_APPLY"
echo "terraform_dir: $TERRAFORM_DIR"
all_files=$(ls)
echo "$all_files"
echo "workspace=$WORKSPACE" >> $GITHUB_OUTPUT
echo "varfile=$VARFILE" >> $GITHUB_OUTPUT
echo "should_plan=$SHOULD_PLAN" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit c523b31

Please sign in to comment.