You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just start to learn Cake Build. I created a simple "Hello World" ASP.NET Core project and tried to use a Cake task pipeline to build and deploy to a shared hosting (I want Web Deploy way since it can only deploy updated files but not all files).
I used both script and frosting, also I added "Publish" task using DotNetCorePublish after the "Build" task, all them worked well. But, seems the DotNetCorePublish can only publish to a local folder? then How could I deploy the website to a shared hosting (the shared hosting supports web deploy)?
I tried to add another task using Cake.WebDeploy, but seems it does not support .net core or maybe I don't know how to use it. I also tried Cake.MsDeploy, but maybe still I don't know how to set so many properties for it, finally all failed.
I know the Cake build is mainly for Build projects, but since it supports multiple addins and extended functions. I am guessing it can also work on Deploy.
The official Cake Build website does not provide a sample script/code about deploying to a shared hosting with Web Deploy way (deploy only updated files). I tried this example, but the default DotNetCorePublish* did not generate a zip file, I manually zip a file but it still could not work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I just start to learn Cake Build. I created a simple "Hello World" ASP.NET Core project and tried to use a Cake task pipeline to build and deploy to a shared hosting (I want Web Deploy way since it can only deploy updated files but not all files).
I used both script and frosting, also I added "Publish" task using DotNetCorePublish after the "Build" task, all them worked well. But, seems the DotNetCorePublish can only publish to a local folder? then How could I deploy the website to a shared hosting (the shared hosting supports web deploy)?
I tried to add another task using Cake.WebDeploy, but seems it does not support .net core or maybe I don't know how to use it. I also tried Cake.MsDeploy, but maybe still I don't know how to set so many properties for it, finally all failed.
I know the Cake build is mainly for Build projects, but since it supports multiple addins and extended functions. I am guessing it can also work on Deploy.
The official Cake Build website does not provide a sample script/code about deploying to a shared hosting with Web Deploy way (deploy only updated files). I tried this example, but the default DotNetCorePublish* did not generate a zip file, I manually zip a file but it still could not work.
Anybody can help to give a sample?
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions