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: action.yaml
+5-9Lines changed: 5 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,6 @@ inputs:
20
20
gcp_service_name:
21
21
description: "The name of the service being deployed."
22
22
required: true
23
-
gcp_environment:
24
-
description: "The environment in Google Cloud the service is being deployed into e.g. 'staging' or 'production'."
25
-
required: false
26
-
default: main
27
23
28
24
outputs:
29
25
branch_tag_kebab:
@@ -58,16 +54,16 @@ outputs:
58
54
description: "A label to affix to the names of the resources created during deployment. This helps avoid confusion about what resources belong to what applications and aids cleanup of old resources."
59
55
gcp_service_name:
60
56
description: "The name of the service being deployed."
61
-
gcp_environment:
62
-
description: "The environment in Google Cloud the service is being deployed into e.g. 'staging' or 'production'."
63
-
57
+
gcp_environment_kebab:
58
+
description: "If the branch is 'main', this is 'production'; otherwise it's 'staging'."
59
+
gcp_environment_screaming:
60
+
description: "If the branch is 'main', this is 'PRODUCTION'; otherwise it's 'STAGING'."
0 commit comments