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:
1111 CF_HOST :
1212 description : " Codefresh runtime exposed in cluster address: https://your.clusters.ci-cd.com/app-proxy"
1313 required : false
14- CF_HOST_URL :
14+ CF_PLATFORM_URL :
1515 description : " Codefresh platform url"
1616 required : false
1717 CF_RUNTIME_NAME :
@@ -116,7 +116,7 @@ runs:
116116 env :
117117 VERSION : " ${{ inputs.VERSION }}"
118118 CF_HOST : " ${{ inputs.CF_HOST }}"
119- CF_HOST_URL : " ${{ inputs.CF_HOST.URL }}"
119+ CF_PLATFORM_URL : " ${{ inputs.CF_PLATFORM_URL }}"
120120 CF_RUNTIME_NAME : " ${{ inputs.CF_RUNTIME_NAME }}"
121121 CF_API_KEY : " ${{ inputs.CF_API_KEY }}"
122122
Original file line number Diff line number Diff line change @@ -17,9 +17,10 @@ export namespace Utils {
1717 host = payload [ 'CF_HOST' ]
1818 delete payload [ 'CF_HOST' ]
1919 } else {
20- const platformHost = payload [ 'CF_HOST_URL ' ]
20+ const platformHost = payload [ 'CF_PLATFORM_URL ' ]
2121 host = await Utils . getRuntimeIngressHost ( runtimeName , headers , platformHost )
2222 delete payload [ 'CF_RUNTIME_NAME' ]
23+ delete payload [ 'CF_PLATFORM_URL' ]
2324 }
2425 delete payload [ 'CF_API_KEY' ]
2526 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