diff --git a/.github/workflows/testworkflow.yml b/.github/workflows/testworkflow.yml index a1c44b5..cab4fb0 100644 --- a/.github/workflows/testworkflow.yml +++ b/.github/workflows/testworkflow.yml @@ -20,9 +20,8 @@ on: - Staging - Production env: - LOG_LEVEL_OPTS: | - ${{ fromJson('{ Development: "DEBUG", Production: "INFO" }') }} - LOG_LEVEL: $LOG_LEVEL_OPTS[${{ github.event.inputs.deployment_type }}] + LOG_LEVEL: | + ${{ fromJson('{ Development: "DEBUG", Production: "INFO" }'[github.event.inputs.deployment_type]) }} jobs: