Merge pull request #180 from JeremyEspresso/patch-1

Fix typos and spelling in webhook documentation
pull/181/head
samdulam 2021-07-13 09:56:25 +12:00 committed by GitHub
commit ba54151040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -1,20 +1,20 @@
# Webhooks
You can use webhooks to cause an action in a service in response to a push event in a repository. Webhooks are POST requests sent to a URL you define in Docker Hub or another registry.
You can use webhooks to trigger an action in a service in response to a push event in a repository. Webhooks are POST requests sent to a URL you define in Docker Hub or another registry.
## Enable Service Webhook
To enable a webhook for a service, go to <b>Services</b>, click in the service you want to set up the Weebhook, and enable the toogle <b>Service Webhook</b>.
To enable a webhook for a service, go to <b>Services</b>, click on the service you want to set up the Webhook for, and enable the toggle <b>Service Webhook</b>.
![webhooks](assets/1.png)
After you enable the toggle you will see the URL to configure your webhook in Docker Hub or another repository. do a click in copy to get the full URL.
After you enable the toggle you will see the URL to configure your webhook in Docker Hub or another repository. Click the copy button to get the full URL.
![webhooks](assets/2.png)
## Examples
Here, you can find a few examples to understand how easy is to trigger the webhook.
Here, you can find a few examples to understand how easy it is to trigger the webhook.
### Redeploy
@ -38,4 +38,4 @@ To see how to complete the configuration in Docker Hub, [click here](https://doc
## :material-note-text: Notes
[Contribute to these docs](https://github.com/portainer/portainer-docs/blob/master/contributing.md){target=_blank}
[Contribute to these docs](https://github.com/portainer/portainer-docs/blob/master/contributing.md){target=_blank}