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
The deployment payload is a JSON data structure that gets uploaded to GitHub when a new deployment is created. The values in this payload can be almost anything you want. The branch-deploy GitHub Action hydrates the deployment payload with some useful information that can be accessed later on in the deployment process if you need it.
4
+
5
+
Here is the data that the branch-deploy Action will add to the deployment payload:
6
+
7
+
```json
8
+
{
9
+
"params": "<string>",
10
+
"parsed_params": "<object>",
11
+
"sha": "<string>",
12
+
"type": "branch-deploy"
13
+
}
14
+
```
15
+
16
+
-`params` - This is the raw string of parameters that were passed to the branch-deploy Action. You can read more about parameters [here](./parameters.md).
17
+
-`parsed_params` - This is the parsed version of the `params` string. This is a JSON object that is created by parsing the `params` string. You can read more about parameters [here](./parameters.md).
18
+
-`sha` - This is the commit SHA that is being deployed.
19
+
-`type` - This is the type of deployment that is being created. This will always be `branch-deploy` for the branch-deploy Action.
All parameters (both parsed and raw) can be found in the `payload` of the actual deployment that gets created and stored on GitHub. You can read more about the deployment payload and its structure [here](./deployment-payload.md).
0 commit comments