diff --git a/.github/composite/deploy-cloudflare/action.yaml b/.github/composite/deploy-cloudflare/action.yaml index e804b272a..d685982ca 100644 --- a/.github/composite/deploy-cloudflare/action.yaml +++ b/.github/composite/deploy-cloudflare/action.yaml @@ -71,7 +71,7 @@ runs: workingDirectory: ./ wranglerVersion: '3.112.0' environment: ${{ inputs.environment }} - command: ${{ fromJSON(inputs.deploy) == true && 'deploy' || 'versions upload --tag ${{ inputs.commitTag }} --message ${{ inputs.commitMessage }}' }} --config ./packages/gitbook-v2/wrangler.jsonc + command: ${{ inputs.deploy == 'true' && 'deploy' || format('versions upload --tag {0} --message {1}', inputs.commitTag, inputs.commitMessage) }} --config ./packages/gitbook-v2/wrangler.jsonc - name: Outputs shell: bash env: