public IOfferRemoteDeployment File(string sourceFile, string destFile)
        {
            var copyFileProvider = new CopyFileProvider(sourceFile, destFile);

            AddOperation(copyFileProvider);
            return(this);
        }
Beispiel #2
0
        private void ConfigureCopyFileOperation(string path)
        {
            var copyFileProvider = new CopyFileProvider(path, string.Format(@"%temp%\ConDep\{0}\PSScripts\ConDep\{1}", ConDepGlobals.ExecId, Path.GetFileName(path)));
            var copyOp           = new RemoteWebDeployOperation(copyFileProvider, _webDeploy);

            _sequence.Add(copyOp, true);
        }