GitBook: [#27] Add BE note re env vars in webhooks

This commit is contained in:
James Carppe
2022-10-31 02:11:48 +00:00
committed by gitbook-bot
parent 3baba2b4bc
commit ac6b6b66ff
2 changed files with 8 additions and 0 deletions

View File

@@ -36,6 +36,10 @@ This example shows how to trigger the webhook using `update service image with a
When triggering a webhook, environment variables can be passed through the endpoint and referenced within services' compose files.
{% hint style="info" %}
This functionality is only available in Portainer Business Edition.
{% endhint %}
To specify an environment variable on a webhook, add it as a variable to the URL. For example, to pass a `SERVICE_TAG` variable with the value `development`:
```

View File

@@ -36,6 +36,10 @@ This example shows how to trigger the webhook to update the stack to use a diffe
When triggering a webhook, environment variables can be passed through the endpoint and referenced within stacks' compose files.
{% hint style="info" %}
This functionality is only available in Portainer Business Edition.
{% endhint %}
To specify an environment variable on a webhook, add it as a variable to the URL. For example, to pass a `SERVICE_TAG` variable with the value `development`:
```