mirror of
https://github.com/portainer/portainer-docs.git
synced 2026-03-27 12:58:32 +07:00
GitBook: [#27] Add BE note re env vars in webhooks
This commit is contained in:
committed by
gitbook-bot
parent
3baba2b4bc
commit
ac6b6b66ff
@@ -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`:
|
||||
|
||||
```
|
||||
|
||||
@@ -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`:
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user