Using Gulp for Deployment

Gulp and Powershell : If you don’t have licence for TDS and need to move items to target instance using gulp and powershell 🙂

Gulp can be used to build and deploying process really quick – You can configure a number tasks and make sure the build reaches the target site instance and runs seamlessly !

No comments

Using Gulp for Deployment

Gulp and Powershell : If you don’t have licence for TDS and need to move items to target instance using gulp and powershell 🙂

Gulp can be used to build and deploying process really quick – You can configure a number tasks and make sure the build reaches the target site instance and runs seamlessly !

  1. Create a gulp-config.js to store the config json.

Using Gulp & SPE to Deploy Items382

 

  1. Make a text file with item path which needs to be moved to destination site instance – name the file name as SitecoreItemPath

Using Gulp & SPE to Deploy Items511

 

  1. Configuring Gulp task

Steps involved -> Serialize-Items >> Publish Serialized Items to Destination >> Deserialize Items >> Build and Publish Files

Using Gulp & SPE to Deploy Items664

 

  1. Few more powershell scripts To Serialize and Deserialize items

Steps to Serialize items:

Using Gulp & SPE to Deploy Items756

Steps to De-Serialize items:

Using Gulp & SPE to Deploy Items787

 

  1. Now run the Tasks using Task Runner in Visual Studio — Tada !! your contents are moved to target instance !!

 

Using Gulp & SPE to Deploy Items901

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.