Chef automate trying to publish cookbook to git.!

I was trying to push a cookbook through automate server.

build bookbook config.json looks like this.

 "delivery-truck": {
    "publish": {
      "chef_server": true,
      "supermarket": "https://XXXXX.com"
    }
  }
i did not set publish to git in config.json.  but when i did delivery review i am getting an error from automate
saying that

Chef::Exceptions::ValidationFailed
----------------------------------
deploy_key is required
Chef::Exceptions::ValidationFailed: deploy_key is required

what could be the issue?? why it is trying to publish to git.

got it working. I had remove project from automate and redo deliver review.