Deploying to a ZIP file is normally done to create a complete site locally, which can then be deployed to a server using other tools. The DeploySite utility is necessary because Visual Studio Publish and dotnet publish are insufficient to deploy a YetaWF site. YetaWF uses symlinks heavily which can't be deployed by other tools.
A yaml file is used to define all the deployment attributes. The following is an example of a yaml file used to deploy to a ZIP file (named C:\Temp\FinalFolder\Site.zip in this example).
Deploy: Type: zip To: C:\Temp\FinalFolder\Site.zip BaseFolder: C:\Development\YetaWF From: C:\Temp\PublishOutput ConfigParm: Windows.Prod
The first step in deploying a site is to run Visual Studio Publish or dotnet publish. In this example, the solution file is located at C:\Development\YetaWF and the published (partial) site is created at C:\Temp\PublishOutput.
Softelvdm.DeploySite Backup yourfile.yaml