Skip to content

Commit 4bf8e48

Browse files
authored
UPD: update initiate-deployment.yaml to take user's email address as input
1 parent 04b64ae commit 4bf8e48

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/backend/src/templates/initiate-deployment.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ spec:
1515
- title: Public github repo link to deploy
1616
required:
1717
- repoUrl
18+
- emailAddress
1819
properties:
1920
repoUrl:
2021
title: Public github Repo to deploy
@@ -24,6 +25,11 @@ spec:
2425
ui:options:
2526
allowedHosts:
2627
- github.com
28+
emailAddress:
29+
title: Email to receive deployment link on.
30+
description: Provide your email in the following format [email protected] or [email protected]
31+
pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}
32+
type: string
2733
action:
2834
title: Action
2935
default: create
@@ -46,3 +52,4 @@ spec:
4652
branchOrTagName: 'main'
4753
workflowInputs:
4854
githubRepo: ${{ parameters.repoUrl }}
55+
email: ${{ parameters.emailAddress }}

0 commit comments

Comments
 (0)