Skip to content

Commit ff7b4ba

Browse files
committed
Changed test needs
1 parent 19e8f5e commit ff7b4ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ jobs:
222222
(!inputs.run-tests && needs.deploy-staging.result == 'success')
223223
) }}
224224
uses: ./.github/workflows/production_deploy.yml
225-
needs:
225+
needs:
226226
- setup
227227
- deploy-staging
228-
- ${{ (inputs.run-tests == true) && 'run-pre-production-tests' || '' }}
228+
- ${{ fromJSON(format('["{0}"]', inputs.run-tests == true && 'run-pre-production-tests' || ''))[0] }}
229229
with:
230230
evaluation_function_name: ${{ needs.setup.outputs.evaluation_function_name }}
231231
template-repository-name: ${{ inputs.template-repository-name }}

0 commit comments

Comments
 (0)