mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Update deploy-to-iis.yml
This commit is contained in:
parent
9215443d60
commit
4b213796fe
6
.github/workflows/deploy-to-iis.yml
vendored
6
.github/workflows/deploy-to-iis.yml
vendored
@ -140,7 +140,7 @@ jobs:
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<WebPublishMethod>MSDeploy</WebPublishMethod>
|
||||
<LastUsedBuildConfiguration>$env:Configuration</LastUsedBuildConfiguration>
|
||||
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
|
||||
<LastUsedPlatform>x64</LastUsedPlatform>
|
||||
<SiteUrlToLaunchAfterPublish>$($env:SiteUrl):80/</SiteUrlToLaunchAfterPublish>
|
||||
<LaunchSiteAfterPublish>False</LaunchSiteAfterPublish>
|
||||
@ -166,7 +166,9 @@ jobs:
|
||||
|
||||
# Publish server to IIS
|
||||
- name: Publish
|
||||
run: dotnet publish --configuration $env:Configuration /p:PublishProfile="Test|x64" /p:Password=$env:ServerPassword /p:Version=$env:CurrentVersion /p:FileVersion=$env:CurrentVersion
|
||||
run: |
|
||||
echo "Publishing with configuration $env:Configuration."
|
||||
dotnet publish /p:Platform="x64" /p:Configuration="$env:Configuration" /p:PublishProfile="Test" /p:Password=$env:ServerPassword /p:Version=$env:CurrentVersion /p:FileVersion=$env:CurrentVersion
|
||||
|
||||
# Remove the pfx
|
||||
- name: Remove the pfx
|
||||
|
||||
Loading…
Reference in New Issue
Block a user