File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ runs:
1616 - name : " Call Doc Previewer Webhook"
1717 shell : bash
1818 env :
19- PREVIEWER_URL : " ${{ inputs.server }}/preview/${{ github.repository }}/${{ github.event.issue.number }}?job=${{ inputs.job }} "
19+ PREVIEWER_URL : " ${{ inputs.server }}/preview/${{ github.repository }}/${{ github.event.issue.number }}"
2020 ADD_COMMENT_URL : " https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments"
2121 GITHUB_TOKEN : " ${{ inputs.token }}"
22+ ARTIFACT_JOB : " ${{ inputs.job }}"
2223 run : |
23- PREVIEWER_RESPONSE=$(curl -X POST "${PREVIEWER_URL}" )
24+ PREVIEWER_RESPONSE=$(curl -X POST --data-urlencode="job=${JOB}" ${PREVIEWER_URL} )
2425 if [[ $? ]]; then
2526 curl -H "Authorization: token ${GITHUB_TOKEN}" \
2627 -d '{"body": "${PREVIEWER_RESPONSE}"}' \
You can’t perform that action at this time.
0 commit comments