Skip to content

Commit

Permalink
update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinfoko committed Apr 2, 2024
1 parent 50b98c1 commit 8e03427
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:

- name: Configure Terraform Cloud
run: |
echo "credentials \"$TF_API_URL\" {" >> ~/.terraformrc
echo " token = \"${{ secrets.TF_API_TOKEN }}\"" >> ~/.terraformrc
echo "}" >> ~/.terraformrc
echo "credentials \"$TF_API_URL\" {" >> ~/${{ env.CONFIG_DIRECTORY }}/.terraformrc
# echo " token = \"${{ env.TF_API_TOKEN }}\"" >> ~/${{ env.CONFIG_DIRECTORY }}/.terraformrc
echo "}" >> ~/${{ env.CONFIG_DIRECTORY }}/.terraformrc
working-directory: ${{ env.CONFIG_DIRECTORY }}

- name: Initialize Terraform
Expand Down

0 comments on commit 8e03427

Please sign in to comment.