Publishing file-based items using web deploy
In Sitecore, a few types of items get stored in the filesystem, such as sublayouts, XSLT, layouts, and others. Sitecore also allows you to store media on the filesystem. To publish such items, we can use the out-of-the-box feature of WebDeploy
to publish physical files from the content
management (CM) server to the content
delivery (CD) server.
By default, web deploy synchronizes folders between source and destination instances. So, on publishing, Sitecore invokes web deploy and all the configured folders get published or synced between CM and CD. Consider a case where we are working with such a Sitecore instance where we need to publish a specific sublayout or media file, which is not achievable, out ...
Get Sitecore Cookbook for Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.