private void Deploy() { DeployDatabase(); return; DeployIIS(); SetUpProgress.PerformStep(); var safebankFolder = DeployFolders(); if (safebankFolder == null) { return; } SetUpProgress.PerformStep(); var serverManager = new ServerManager(); var safeBankAppPool = DeployAppPool(serverManager); SetUpProgress.PerformStep(); DeploySite(serverManager, safeBankAppPool, safebankFolder); SetUpProgress.PerformStep(); DeployCodeToSite(safebankFolder); SetUpProgress.PerformStep(); CleanUpTermFolders(); SetUpProgress.PerformStep(); _deploymentLog.HaveDeployed = true; SaveDeploymentLog(); SetUpProgress.PerformStep(); AddMessageToProcessLog("Deployment finished"); }
public static void IncProgressCounter() { SetUpProgress?.Invoke(); }