Publish apphost exe again and deploy web.config via FTP
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
<TargetFramework>net10.0</TargetFramework>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<UseAppHost>false</UseAppHost>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ option confirm off
|
|||||||
open ftp://$($FtpUser):$($Password.Replace('`n','').Replace('`r',''))@$FtpHost
|
open ftp://$($FtpUser):$($Password.Replace('`n','').Replace('`r',''))@$FtpHost
|
||||||
lcd $PublishDir
|
lcd $PublishDir
|
||||||
cd $RemoteDir
|
cd $RemoteDir
|
||||||
synchronize remote . -delete -filemask="|web.config;App_Data/;logs/"
|
synchronize remote . -delete -filemask="|App_Data/;logs/"
|
||||||
exit
|
exit
|
||||||
"@ | Set-Content -Path $tempScript -Encoding UTF8
|
"@ | Set-Content -Path $tempScript -Encoding UTF8
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user