Skip to content

Commit 90d7417

Browse files
committed
(build) move docs publishing to docs workflow
1 parent c67d7c0 commit 90d7417

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ on:
77
- 'fix/*'
88
- 'feature/*'
99
paths:
10+
- '**'
1011
- '!docs/**'
1112

1213
pull_request:
1314
branches:
1415
- main
1516
paths:
17+
- '**'
1618
- '!docs/**'
1719

1820
repository_dispatch:

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Verify & Publish Documentation
22

33
on:
44
push:
5+
paths:
6+
- 'docs/**'
57
pull_request:
68
paths:
79
- 'docs/**'

docs/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pwsh build.ps1 -Target Preview-Documentation
4040

4141
After pressing enter, the documentation will be generated and then served under
4242
a local web server. Information about the URL that can be used to view the docs
43-
will be shown in the output. Copy/paste this URL into a browser window.
43+
will be shown in the output. Copy/paste this URL into a browser window.
4444

4545
[gitversion.net]: https://gitversion.net/
4646
[forking]: https://guides.github.com/activities/forking/

0 commit comments

Comments
 (0)