From 692a10e8404558608f5da21b2cc300773ce6c4b4 Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Wed, 25 Sep 2024 17:18:29 +0300 Subject: [PATCH] fix: replace context with default var (#63) * fix: replace context with default var * Update action.yml --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index a3969b6..157723f 100644 --- a/action.yml +++ b/action.yml @@ -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 }}" \ @@ -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](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