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
Copy file name to clipboardExpand all lines: README.md
+34-31Lines changed: 34 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,45 +12,48 @@ For more details on the meshBuildingBlockRun API, refer to the [meshcloud API do
12
12
13
13
For more information on integrating with the meshStack Building Block pipeline, refer to the [meshStack Building Block pipeline integration documentation](https://docs.meshcloud.io/docs/meshstack.building-pipeline-integration.html#building-block-run-and-steps).
14
14
15
+
### Building Block Inputs:
16
+
17
+
When MeshStack triggers your pipeline, it sends a GitHub Actions event containing the URL, building block ID, and all the inputs your building block needs. These inputs are written to `GITHUB_OUTPUT`. You can use these inputs in your pipeline with the syntax `${{ steps.setup-meshstack-auth.outputs.your_input_from_meshstack_bb }}`.
18
+
19
+
For more information, refer to the [MeshStack documentation on building block inputs](https://docs.meshcloud.io/docs/administration.building-blocks.html#building-block-inputs).
15
20
16
21
### Inputs
17
22
18
-
-`base_url` (required): The base URL for the API.
19
-
-`bb_run_uuid` (required): The Building Block Run UUID.
23
+
- `` (required): The base URL for the API.
24
+
-`client_id` (required): The client ID for the API.
25
+
-`key_secret` (required): The key secret for the API.
20
26
-`steps` (required): The steps to register.
21
-
-`token` (required): The API token for authentication.
22
27
23
28
### Outputs
24
29
25
-
-`response`: The response from the API.
30
+
-`token_file`: Path to the file containing the authentication token
0 commit comments