Skip to content

Commit fdebe7c

Browse files
[build] Improve docs building
1 parent 329f5fc commit fdebe7c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/generate-gh-pages.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: ./build.cmd build
3030

3131
- name: Fetch changelog
32-
run: ./build.cmd docs-fetch --depth 1 --preview
32+
run: ./build.cmd docs-fetch --depth 2 --preview
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535

@@ -67,6 +67,6 @@ jobs:
6767
with:
6868
branch: gh-pages
6969
folder: site
70-
git-config-name: Andrey Akinshin
71-
git-config-email: andrey.akinshin@gmail.com
72-
clean: true
70+
git-config-name: GitHub Actions
71+
git-config-email: actions@github.com
72+
clean: true

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ jobs:
108108
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
109109
with:
110110
title: v${{ steps.next_version.outputs.NEXT_VERSION }}
111-
111+
112112
- name: Publish to NuGet
113113
run: dotnet nuget push ./artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
114114

115115
# --- Documentation ---
116116

117117
- name: Fetch changelog
118-
run: ./build.cmd docs-fetch --depth 1 --preview
118+
run: ./build.cmd docs-fetch --depth 2 --preview
119119
env:
120120
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121121

@@ -143,4 +143,4 @@ jobs:
143143
folder: docs/_site
144144
git-config-name: GitHub Actions
145145
git-config-email: [email protected]
146-
clean: true
146+
clean: true

build/BenchmarkDotNet.Build/Meta/Repo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public static class Repo
1616
public const string DocsStableBranch = "docs-stable";
1717
public const string MasterBranch = "master";
1818

19-
public const string MaintainerAuthorName = "Andrey Akinshin <[email protected]>";
20-
public const string MaintainerAuthorEmail = "andrey.akinshin@gmail.com";
19+
public const string MaintainerAuthorName = "GitHub Actions";
20+
public const string MaintainerAuthorEmail = "actions@github.com";
2121

2222
public static async Task<int> GetDependentProjectsNumber()
2323
{

0 commit comments

Comments
 (0)