You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Notify 3rd party applications after each deployment with Stormkit.
3
+
description: Easily automate actions with outbound webhooks, enabling triggers for events like cache disabling and workflow initiation. Boost deployment flexibility and streamline notifications with this powerful feature.
4
4
---
5
5
6
6
# Outbound Webhooks
@@ -17,7 +17,6 @@ To enable users to define outbound webhooks upon deployment completion, follow t
17
17
18
18
- Fill out the required information in the form and proceed by clicking the `Create outbound` webhook button.
19
19
20
-
21
20
</section>
22
21
23
22
## Special variables for payload
@@ -26,15 +25,15 @@ To enable users to define outbound webhooks upon deployment completion, follow t
26
25
27
26
When the `Request method` is selected as `Post`, you can specify the request payload. This field accepts a raw string that will be send to the request URL. You can use the following variables to customize the request payload.
28
27
29
-
| Variable | Description |
30
-
| ------------------------- |---------- |
31
-
|`$SK_NOW`| An ISO 8601 formatted time string. The time is computed when sending the webhook. |
32
-
|`$SK_NOW_UNIX`| The unix timestamp. The time is computed when sending the webhook. |
33
-
|`$SK_APP_ID`| The application id. |
34
-
|`$SK_ENVIRONMENT`| The environment name. When triggering an outbound webhook on publish, this is the name of the environment that the deployment is published to. Otherwise, it is the name of the environment which the build configuration is taken from. |
35
-
|`$SK_DEPLOYMENT_ID`| The deployment id. |
36
-
|`$SK_DEPLOYMENT_ENDPOINT`| The endpoint to preview the deployment. |
37
-
|`$SK_DEPLOYMENT_LOGS_ENDPOINT`| The endpoint to preview the deployment logs. You will need to be authenticated to visit this URL. |
38
-
|`$SK_DEPLOYMENT_STATUS`| A string indicating the deployment status. It's either success or failed. |
|`$SK_NOW`| An ISO 8601 formatted time string. The time is computed when sending the webhook.|
31
+
|`$SK_NOW_UNIX`| The unix timestamp. The time is computed when sending the webhook.|
32
+
|`$SK_APP_ID`| The application id.|
33
+
|`$SK_ENVIRONMENT`| The environment name. When triggering an outbound webhook on publish, this is the name of the environment that the deployment is published to. Otherwise, it is the name of the environment which the build configuration is taken from. |
34
+
|`$SK_DEPLOYMENT_ID`| The deployment id.|
35
+
|`$SK_DEPLOYMENT_ENDPOINT`| The endpoint to preview the deployment.|
36
+
|`$SK_DEPLOYMENT_LOGS_ENDPOINT`| The endpoint to preview the deployment logs. You will need to be authenticated to visit this URL. |
37
+
|`$SK_DEPLOYMENT_STATUS`| A string indicating the deployment status. It's either success or failed.|
0 commit comments