# Chef automate trying to publish cookbook to git.!

**URL:** <https://discourse.chef.io/t/chef-automate-trying-to-publish-cookbook-to-git/12508>\
**Category:** Chef Automate\
**Created:** [January 30, 2018, 8:47pm UTC](https://discourse.chef.io/t/chef-automate-trying-to-publish-cookbook-to-git/12508 "2018-01-30T20:47:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raghureddy45](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@raghureddy45](https://discourse.chef.io/u/raghureddy45)\
**Post date:** [January 30, 2018, 8:47pm UTC](https://discourse.chef.io/t/chef-automate-trying-to-publish-cookbook-to-git/12508/1 "2018-01-30T20:47:30Z")

</div>

I was trying to push a cookbook through automate server.

build bookbook config.json looks like this.

```auto
 "delivery-truck": {
    "publish": {
      "chef_server": true,
      "supermarket": "https://XXXXX.com"
    }
  }

```

```auto
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.

---

<div class="post-metadata">

**Author:** ![raghureddy45](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@raghureddy45](https://discourse.chef.io/u/raghureddy45)\
**Post date:** [February 1, 2018, 3:36am UTC](https://discourse.chef.io/t/chef-automate-trying-to-publish-cookbook-to-git/12508/2 "2018-02-01T03:36:57Z")

</div>

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

```
