Skip to content

Commit 519590c

Browse files
committed
chore: exclude tests assemblies
1 parent dce4366 commit 519590c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-docs.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
branches:
66
- master
77
- feature/docs
8-
pull_request:
9-
branches:
10-
- master
118

129
jobs:
1310
run-docfx:
@@ -55,7 +52,6 @@ jobs:
5552
- name: Docfx build
5653
run: dotnet docfx build docs/docfx.json
5754
- name: Publish to GitHub Pages
58-
if: ${{ github.event_name != 'pull_request' }}
5955
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
6056
with:
6157
github_token: ${{ secrets.GITHUB_TOKEN }}

docs/docfx.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"files": [
77
"UniTask/Library/ScriptAssemblies/UniTask*.dll"
88
],
9+
"exclude": [
10+
"UniTask/Library/ScriptAssemblies/UniTask.Tests.dll",
11+
"UniTask/Library/ScriptAssemblies/UniTask.Tests.Editor.dll"
12+
],
913
"src": "../src"
1014
}
1115
],

0 commit comments

Comments
 (0)