Skip to content

Commit eed4998

Browse files
committed
CF_PLATFORM_URL
1 parent a68befd commit eed4998

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

src/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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('&')

0 commit comments

Comments
 (0)