This is an automated email from the ASF dual-hosted git repository. nightowl888 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit 0fa692b54db7082378cf16c283f2cf9b2f20576c Author: Shad Storhaug <[email protected]> AuthorDate: Fri Oct 23 19:30:13 2020 +0700 website: Updated Powershell script to allow passing in the staging port --- websites/site/site.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/websites/site/site.ps1 b/websites/site/site.ps1 index fa92914..0bac019 100644 --- a/websites/site/site.ps1 +++ b/websites/site/site.ps1 @@ -27,7 +27,10 @@ param ( # LogLevel can be: Diagnostic, Verbose, Info, Warning, Error [Parameter(Mandatory=$false)] [string] - $LogLevel = 'Info' + $LogLevel = 'Info', + [Parameter(Mandatory=$false)] + [int] + $StagingPort = 8081 ) [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 @@ -81,6 +84,6 @@ if($?) { else { # build + serve (for testing) Write-Host "starting website..." - & $DocFxExe $DocFxJson --serve --port 8081 + & $DocFxExe $DocFxJson --serve --port $StagingPort } } \ No newline at end of file
