Skip to content

Commit

Permalink
Fix actions.yml syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
datapythonista committed Jan 27, 2024
1 parent cc503bf commit c9c0ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ runs:
ADD_COMMENT_URL: "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments"
AUTHORIZATION_HEADER: "Authorization: token ${{ inputs.github_token }}"
PREVIEWER_RESPONSE: "${{ steps.call-previewer.outputs.previewer-response }}"
run: curl -H "${AUTHORIZATION_HEADER}" -d "{\"body\": \"${PREVIEWER_RESPONSE}\"}" ${ADD_COMMENT_URL}
run: curl -H "${AUTHORIZATION_HEADER}" -d '{"body": "${{ env.PREVIEWER_RESPONSE}}"}' ${ADD_COMMENT_URL}

0 comments on commit c9c0ba9

Please sign in to comment.