File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,6 @@ jobs:
156
156
- name : Generate documentation
157
157
shell : pwsh
158
158
env :
159
- # TODO: Does this use tag instead of branch name?
160
159
DOCFX_SOURCE_BRANCH_NAME : ${{ github.base_ref || github.ref_name }}
161
160
run : |
162
161
Write-Host "Using docfx branch name: $env:DOCFX_SOURCE_BRANCH_NAME"
@@ -290,17 +289,14 @@ jobs:
290
289
dotnet nuget add source --username 'json-api-dotnet' --password "$env:GITHUB_TOKEN" --store-password-in-clear-text --name 'github' 'https://nuget.pkg.github.com/json-api-dotnet/index.json'
291
290
dotnet nuget push "$env:GITHUB_WORKSPACE/packages/*.nupkg" --api-key "$env:GITHUB_TOKEN" --source 'github'
292
291
- name : Publish documentation
293
- # TODO: Should also publish on release tag, but only from master - @($(git branch --remotes --contains v5.0.0 | select-object -first 1) -split '/')[1]
294
292
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
295
293
uses : peaceiris/actions-gh-pages@v3
296
294
with :
297
295
# TODO: Test a real deployment (change target to "gh-pages" branch below)
298
296
github_token : ${{ secrets.GITHUB_TOKEN }}
299
297
publish_branch : gh-pages-test
300
298
publish_dir : ./documentation
301
- # user_name: 'github-actions-bot'
302
- # user_email: 'github-actions-bot@users.noreply.github.com'
303
- # commit_message: 'Automated commit from cibuild'
299
+ commit_message : ' Auto-generated documentation from: ${{ github.event.head_commit.message }}'
304
300
- name : Publish to NuGet
305
301
# TODO: Test this
306
302
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
You can’t perform that action at this time.
0 commit comments