Skip to content

Commit 8cff623

Browse files
authored
chore: show yaml option in deployment page (#9912)
1 parent 92c0237 commit 8cff623

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

site/src/api/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,7 @@ export interface DeploymentOption {
10331033
readonly hidden: boolean;
10341034
readonly group?: DeploymentGroup;
10351035
readonly env?: string;
1036+
readonly yaml?: string;
10361037
}
10371038

10381039
export type DeploymentConfig = {

site/src/components/DeploySettingsLayout/OptionsTable.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ const OptionsTable: FC<{
7575
{option.env}
7676
</OptionConfig>
7777
)}
78+
{option.yaml && (
79+
<OptionConfig>
80+
<OptionConfigFlag>YAML</OptionConfigFlag>
81+
{option.yaml}
82+
</OptionConfig>
83+
)}
7884
</Box>
7985
</TableCell>
8086

0 commit comments

Comments
 (0)