Skip to content

Commit

Permalink
fix: replace context with default var (#63)
Browse files Browse the repository at this point in the history
* fix: replace context with default var

* Update action.yml
  • Loading branch information
goruha authored Sep 25, 2024
1 parent aea5dd4 commit 692a10e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ runs:
TERRAFORM_OUTPUT_FILE="./terraform-${GITHUB_RUN_ID}-output.txt"
tfcmt \
--config "${{ github.action_path }}/config/atmos_github_summary.yaml" \
--config "${GITHUB_ACTION_PATH}/config/atmos_github_summary.yaml" \
-var "target:${{ inputs.stack }}-${{ inputs.component }}" \
-var "component:${{ inputs.component }}" \
-var "stack:${{ inputs.stack }}" \
Expand All @@ -330,7 +330,7 @@ runs:
cat "${TERRAFORM_OUTPUT_FILE}"
atmos terraform output ${{ inputs.component }} --stack ${{ inputs.stack }} --skip-init -- -json 1> output_values.json
terraform-docs -c ${{ github.action_path }}/config/tfdocs-config.yaml --output-file ${{ github.workspace }}/atmos-apply-summary.md ./
terraform-docs -c ${GITHUB_ACTION_PATH}/config/tfdocs-config.yaml --output-file ${{ github.workspace }}/atmos-apply-summary.md ./
sed -i "s#\`<sensitive>\`#![Sensitive](https://img.shields.io/badge/sensitive-c40000?style=for-the-badge)#g" ${{ github.workspace }}/atmos-apply-summary.md
sed -i "s#\`\"#\`#g" ${{ github.workspace }}/atmos-apply-summary.md
Expand Down

0 comments on commit 692a10e

Please sign in to comment.