File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments