Skip to content

Commit

Permalink
Clean up fromJSON usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mdragon committed Nov 22, 2024
1 parent a381e69 commit b590816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd-metabase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
max-parallel: 1
fail-fast: false
matrix:
envs: ${{ inputs.environment != null && fromJSON(format('["{0}"]', inputs.environment)) || github.event_name == 'release' && fromJSON('["prod"]') || github.ref_name == 'main' && fromJSON('["dev", "staging"]') || fromJSON('["dev"]') }}
envs: ${{ fromJson(inputs.environment != null && format('["{0}"]', inputs.environment) || github.event_name == 'release' && '["prod"]' || github.ref_name == 'main' && '["dev", "staging"]' || '["dev"]') }}
with:
version: ${{ inputs.image-tag }}
environment: ${{ matrix.envs }}
Expand Down

0 comments on commit b590816

Please sign in to comment.