Skip to content

Commit ed9bb43

Browse files
committed
Update docs deployment workflow
1 parent 0dc5761 commit ed9bb43

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/Blazor.BrowserExtension-Docs.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,7 @@ jobs:
3434
- name: Build
3535
run: dotnet build docs --no-restore --configuration Release -p:OutDir=$PWD/docs/bin/BuildOutput
3636
- name: Publish
37-
run: dotnet publish docs --no-restore --no-build --configuration Release -p:PublishDir=$PWD/PublishOutput
38-
- name: Create runtimeconfig.json
39-
run: |
40-
cat <<EOF > $PWD/docs/bin/BuildOutput/Docs.runtimeconfig.json
41-
{
42-
"runtimeOptions": {
43-
"tfm": "net${{ env.DOTNET_VERSION }}",
44-
"framework": {
45-
"name": "Microsoft.AspNetCore.App",
46-
"version": "${{ env.DOTNET_VERSION }}.0"
47-
},
48-
"rollForwardOnNoCandidateFx": 2
49-
}
50-
}
51-
EOF
37+
run: dotnet publish docs --no-restore --no-build --configuration Release -p:OutDir=$PWD/docs/bin/BuildOutput -p:PublishDir=$PWD/PublishOutput
5238
- name: After Publish
5339
run: dotnet docs/bin/BuildOutput/Docs.dll --after-publish $PWD/PublishOutput/wwwroot
5440
- name: Configure GitHub Pages

0 commit comments

Comments
 (0)