Skip to content

Commit 67b1458

Browse files
committed
feat(just run): gogo
1 parent 03f2146 commit 67b1458

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ jobs:
423423
env:
424424
INDEPENDENT_CLIENT_GH_PAGES: true
425425
run: |
426-
dotnet publish ./TestHostPrerenderWASM/TestHostPrerenderWASM.Client/TestHostPrerenderWASM.Client.csproj --configuration Debug \
426+
dotnet publish ./TestHostPrerenderWASM/TestHostPrerenderWASM.Client/TestHostPrerenderWASM.Client.csproj --configuration Release \
427427
/p:INDEPENDENT_CLIENT_GH_PAGES=true \
428428
/p:BCLVersion=$BCL_VERSION \
429429
/p:NupkgOutputPath=$NUPKG_OUTPUT_PATH \

TestHostPrerenderWASM/TestHostPrerenderWASM.Client/TestHostPrerenderWASM.Client.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
<!--worked but hindered other stuff qqqq <WwwRootDir Condition="'$(Configuration)'=='Release'">$(PublishDir)\wwwroot</WwwRootDir>-->
1313
<WwwRootDir Condition="'$(Configuration)'=='Release'">$(PublishDir)\wwwroot</WwwRootDir>
1414
<!--<WwwRootDir Condition="'$(GhPageRelease)' == 'true'">$(PublishDir)\wwwroot"</WwwRootDir> qqqq put back in if see works-->
15-
<DefineConstants Condition="'$(GhPageRelease)' == 'true'">$(DefineConstants);GH_PAGE_RELEASE</DefineConstants>
15+
<!--<DefineConstants Condition="'$(GhPageRelease)' == 'true'">$(DefineConstants);GH_PAGE_RELEASE</DefineConstants>-->
1616
</PropertyGroup>
1717

1818

19-
<Target Name="PublishGitHubPages" AfterTargets="Publish">
19+
<Target Name="PublishGitHubPages" AfterTargets="Publish" Condition="'$(Configuration)'=='Release'">
2020
<Message Text="SolutionDir: $(SolutionDir)" Importance="high" />
2121
<Message Text="MSBuildProjectDirectory: $(MSBuildProjectDirectory)" Importance="high" />
2222
<Message Text="PublishDir: $(PublishDir)" Importance="high" />
@@ -28,11 +28,11 @@
2828
<Touch Files="$(PublishDir).nojekyll" AlwaysCreate="true" />
2929

3030
<!-- Move wwwroot contents to docs root and remove wwwroot folder -->
31-
<ItemGroup>
31+
<ItemGroup Condition="'$(Configuration)'=='Release'">
3232
<WwwRootFiles Include="$(WwwRootDir)\**\*.*" />
3333
</ItemGroup>
3434

35-
<Copy SourceFiles="@(WwwRootFiles)" DestinationFolder="$(PublishDir)\%(RecursiveDir)" OverwriteReadOnlyFiles="true" />
35+
<Copy Condition="'$(Configuration)'=='Release'" SourceFiles="@(WwwRootFiles)" DestinationFolder="$(PublishDir)\%(RecursiveDir)" OverwriteReadOnlyFiles="true" />
3636

3737
<!--Provide and entry point-->
3838
<ItemGroup>

0 commit comments

Comments
 (0)