File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ inputs:
11
11
CF_HOST :
12
12
description : " Codefresh runtime exposed in cluster address: https://your.clusters.ci-cd.com/app-proxy"
13
13
required : false
14
- CF_HOST_URL :
14
+ CF_PLATFORM_URL :
15
15
description : " Codefresh platform url"
16
16
required : false
17
17
CF_RUNTIME_NAME :
@@ -116,7 +116,7 @@ runs:
116
116
env :
117
117
VERSION : " ${{ inputs.VERSION }}"
118
118
CF_HOST : " ${{ inputs.CF_HOST }}"
119
- CF_HOST_URL : " ${{ inputs.CF_HOST.URL }}"
119
+ CF_PLATFORM_URL : " ${{ inputs.CF_PLATFORM_URL }}"
120
120
CF_RUNTIME_NAME : " ${{ inputs.CF_RUNTIME_NAME }}"
121
121
CF_API_KEY : " ${{ inputs.CF_API_KEY }}"
122
122
Original file line number Diff line number Diff line change @@ -17,9 +17,10 @@ export namespace Utils {
17
17
host = payload [ 'CF_HOST' ]
18
18
delete payload [ 'CF_HOST' ]
19
19
} else {
20
- const platformHost = payload [ 'CF_HOST_URL ' ]
20
+ const platformHost = payload [ 'CF_PLATFORM_URL ' ]
21
21
host = await Utils . getRuntimeIngressHost ( runtimeName , headers , platformHost )
22
22
delete payload [ 'CF_RUNTIME_NAME' ]
23
+ delete payload [ 'CF_PLATFORM_URL' ]
23
24
}
24
25
delete payload [ 'CF_API_KEY' ]
25
26
const qs = Object . entries ( payload ) . map ( kv => `${ esc ( kv [ 0 ] ) } =${ esc ( kv [ 1 ] || '' ) } ` ) . join ( '&' )
You can’t perform that action at this time.
0 commit comments