Added instruction to set content type when configuring github webhook

This commit is contained in:
Shantanu Tushar 2020-03-29 13:07:19 +05:30
parent 090522300f
commit 4be5151d56

View file

@ -236,6 +236,7 @@ pre {
<li>Click the "Copy to clipboard" icon to the right of the "GitHub webhook URL" field</li> <li>Click the "Copy to clipboard" icon to the right of the "GitHub webhook URL" field</li>
<li>Navigate to your repository on GitHub and click on repository settings &gt; webhooks &gt; Add webhook</li> <li>Navigate to your repository on GitHub and click on repository settings &gt; webhooks &gt; Add webhook</li>
<li>Paste your webhook URL provided by OpenShift</li> <li>Paste your webhook URL provided by OpenShift</li>
<li>From the "Content Type" dropdown, select "application/json"</li>
<li>Leave the defaults for the remaining fields &mdash; that's it!</li> <li>Leave the defaults for the remaining fields &mdash; that's it!</li>
</ol> </ol>
<p>After you save your webhook, if you refresh your settings page you can see the status of the ping that Github sent to OpenShift to verify it can reach the server.</p> <p>After you save your webhook, if you refresh your settings page you can see the status of the ping that Github sent to OpenShift to verify it can reach the server.</p>