---
title: "Failing Acquia Cloud Site Factory deployments after a BLT update"
date: "2022-02-24T00:28:58+00:00"
summary:
image:
type: "article"
url: "/site-factory/help/93241-failing-acquia-cloud-site-factory-deployments-after-blt-update"
id: "20899bed-080e-411b-b8af-beed7e085b57"
---

### **Issue**:

You are using Acquia Cloud Site Factory with BLT, you can see an entry similar to :

    Starting hook: post-code-deploy 
    Executing: /mnt/users/docroot/environment.shell /var/www/html/docroot.environment/hooks/common/post-code-deploy/post-code-deploy.sh

... in the [Acquia Cloud Site Factory Task logs](/node/57334) **DocrootUpdate** task and the deployment is failing.

### **Resolution**:

Remove the failing `post-code-deploy` hook from the project codebase as it is not supported on Acquia Cloud Site Factory. A list of Acquia Cloud Site Factory supported hooks can be found in [Hooks in Acquia Cloud Site Factory](/node/57269).

### **Cause**:

BLT is known to regenerate hooks on when updating it, the hook was likely accidentally committed.