|
59 | 59 | ## Use a dynamic label on sync
|
60 | 60 | The previous action simply updated the App Configuration instance whenever `appsettings.json` is updated. This action inserts a dynamic label on each sync, ensuring that each sync can be uniquely identified. This allows code changes to quickly be mapped to config changes.
|
61 | 61 |
|
62 |
| -The first section of this code specifies that the action triggers *on* a *push* containing `appsettings.json` to the *master* branch. The second section runs a job which creates a unique label for the config update based on the commit hash. The job then updates the App Configuration instance with the new values and the unique label for this update. |
| 62 | +The first section of this workflow specifies that the action triggers *on* a *push* containing `appsettings.json` to the *master* branch. The second section runs a job which creates a unique label for the config update based on the commit hash. The job then updates the App Configuration instance with the new values and the unique label for this update. |
63 | 63 |
|
64 | 64 | ```json
|
65 | 65 | on:
|
@@ -169,20 +169,20 @@ Given a depth of 2, the example above now returns the following key:value pair:
|
169 | 169 |
|
170 | 170 | | Key | Value |
|
171 | 171 | | --- | --- |
|
172 |
| -| Object:Inner | InnerKey:InnerValue | |
| 172 | +| Object:Inner | {"InnerKey":"InnerValue"} | |
173 | 173 |
|
174 | 174 | ## Understand Action Inputs
|
175 | 175 | Input parameters specify data used by the action during runtime. The following table contains input parameters accepted by App Configuration Sync and the expected values for each. For more information about action inputs for GitHub Actions, see GitHub's [documentation](https://help.github.com/actions/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions#inputs).
|
176 | 176 |
|
177 | 177 | > [!Note]
|
178 |
| -> Input IDs with uppercase letters are converted to lowercase during runtime. |
| 178 | +> Input IDs are case insensitive. |
179 | 179 |
|
180 | 180 |
|
181 | 181 | | Input Name | Required? | Value |
|
182 | 182 | |----|----|----|
|
183 |
| -| configurationfile | Yes | Path to the configuration file in the repository, relative to the root of the repository. Glob patterns are supported and can include multiple files. | |
| 183 | +| configurationFile | Yes | Path to the configuration file in the repository, relative to the root of the repository. Glob patterns are supported and can include multiple files. | |
184 | 184 | | format | Yes | File format of the configuration file. Valid formats are: JSON, YAML, properties. |
|
185 |
| -| connectionstring | Yes | Connection string for the App Configuration instance. The connection string should be stored as a secret in the GitHub repository, and only the secret name should be used in the workflow. | |
| 185 | +| connectionString | Yes | Connection string for the App Configuration instance. The connection string should be stored as a secret in the GitHub repository, and only the secret name should be used in the workflow. | |
186 | 186 | | separator | Yes | Separator used when flattening the configuration file to key-value pairs. Valid values are: . , ; : - _ __ / |
|
187 | 187 | | prefix | No | Prefix to be added to the start of keys. |
|
188 | 188 | | label | No | Label used when setting key-value pairs. If unspecified, a null label is used. |
|
|
0 commit comments