diff --git a/action.yml b/action.yml index 9abcb53..0e34dfc 100644 --- a/action.yml +++ b/action.yml @@ -305,6 +305,7 @@ runs: TERRAFORM_RESULT=$? + set -e terraform output --json > output_values.json @@ -316,20 +317,9 @@ runs: sed -i "s#\`\"#\`#g" ${{ github.workspace }}/atmos-apply-summary.md sed -i "s#\"\`#\`#g" ${{ github.workspace }}/atmos-apply-summary.md sed -i "s#|--#|:-#g" ${{ github.workspace }}/atmos-apply-summary.md - - set -e cat "${TERRAFORM_OUTPUT_FILE}" - # terraform output --json > output_values.json - - # 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 - # sed -i "s#\"\`#\`#g" ${{ github.workspace }}/atmos-apply-summary.md - # sed -i "s#|--#|:-#g" ${{ github.workspace }}/atmos-apply-summary.md - cat "${{ github.workspace }}/atmos-apply-summary.md" >> $GITHUB_STEP_SUMMARY if [[ "${TERRAFORM_RESULT}" == "0" ]]; then