Skip to content

Commit edf6462

Browse files
author
Dario
committed
ci: fix missing variable
1 parent 45d1fac commit edf6462

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
echo "url=$URL" >> $GITHUB_OUTPUT
9090
# shellcheck disable=SC2086
9191
echo "status-url=$STATUS_URL" >> $GITHUB_OUTPUT
92-
- name: Create Github ${{ steps.deployment-vars.outputs.name }} k8s deployment
92+
- name: Create Github ${{ fromJSON(steps.deployment-yaml.outputs.result).name }} k8s deployment
9393
uses: chrnorm/deployment-action@v2
9494
with:
9595
auto-merge: false
@@ -106,7 +106,7 @@ jobs:
106106
},
107107
"description": ${{ toJSON(inputs.description) }},
108108
"env": ${{ toJSON(inputs.env) }},
109-
"name": ${{ toJSON(steps.deployment-vars.outputs.name) }},
109+
"name": ${{ toJSON(fromJSON(steps.deployment-yaml.outputs.result).name) }},
110110
"namespace": ${{ toJSON(steps.k8s.outputs.namespace) }},
111111
"statusUrl": ${{ toJSON(steps.k8s.outputs.status-url) }},
112112
"url": ${{ toJSON(steps.k8s.outputs.url) }}
@@ -167,7 +167,7 @@ jobs:
167167
echo "url=$URL" >> $GITHUB_OUTPUT
168168
# shellcheck disable=SC2086
169169
echo "status-url=$STATUS_URL" >> $GITHUB_OUTPUT
170-
- name: Create Github ${{ steps.deployment-vars.outputs.name }} k8s deployment
170+
- name: Create Github ${{ fromJSON(steps.values.outputs.result).name }} k8s deployment
171171
uses: chrnorm/deployment-action@v2
172172
with:
173173
auto-merge: false

0 commit comments

Comments
 (0)