Adjusted deploy script
This commit is contained in:
@@ -15,7 +15,7 @@ $WinRmComputer = "xTr1m.com"
|
||||
$WinRmCredentialUser = "Administrator"
|
||||
$UseWinRmHttps = $true # set false if using HTTP + TrustedHosts
|
||||
$RemoteSitePath = "C:\Inetpub\vhosts\xTr1m.com\httpdocs\picknplay"
|
||||
$RunEfMigrations = $true # set to $false to skip remote database update
|
||||
$RunEfMigrations = $false # set to $false to skip remote database update
|
||||
|
||||
<#!
|
||||
.SYNOPSIS
|
||||
@@ -102,7 +102,7 @@ option confirm off
|
||||
open ftp://$($FtpUser):$($Password.Replace('`n','').Replace('`r',''))@$FtpHost
|
||||
lcd $PublishDir
|
||||
cd $RemoteDir
|
||||
synchronize remote . -delete -filemask="|App_Data/;logs/"
|
||||
synchronize remote . -delete -filemask="|web.config;App_Data/;logs/"
|
||||
exit
|
||||
"@ | Set-Content -Path $tempScript -Encoding UTF8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user