Gulp deploy successful but the changes do not display on the web site

Scenario

When you execute the gulp deploy command to upload changes to the website, you may encounter an issue where the command is successful but the changes does not take effect. This happens when you execute the command on the root folder and the DeployDistribution folder is at a different location.

 

Before you can fix the issue, you must first identify where the DeployDistribution folder is located within your local root SCA development directory. As a common example, the folder mentioned may be stored inside the bin folder. For this instance, there are two options on how to resolve the issue.

Solution

Execute gulp deploy with additional parameters 

Open up your Terminal or Command Line Interface 

Execute the command gulp deploy –distro bin/distros/filename.distro.json

Modify the distro.json file

On your machine, navigate to your local root SCA development directory

Edit the distro.json file

Locate the following key-value pair:

Copy

“deploy”: “DeployDistribution”

Change it as follows:

Copy

“deploy”: “bin/DeployDistribution”

Note: This change depends on where your desired location is for your DeployDistribution folder

 

Save the file

 

 

 

Leave a comment

Your email address will not be published. Required fields are marked *