Skip to content

Commit eee59b7

Browse files
authored
docs: use file path after copy (#2148)
1 parent dae9dbd commit eee59b7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish-docs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on: # yamllint disable-line rule:truthy
66
- master
77
tags:
88
- v*
9+
pull_request:
10+
branches:
11+
- master
912

1013
jobs:
1114
build:
@@ -14,7 +17,7 @@ jobs:
1417
- uses: SciCatProject/docs-template/.github/actions/[email protected]
1518
with:
1619
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17-
push: true
20+
push: ${{ github.event_name == 'push' && 'true' || '' }}
1821
# if this file does not need to exist locally, the one in the action is used
1922
# https://github.com/SciCatProject/docs-template/blob/v0.1.0/.github/actions/mkdocs-pages/mkdocs-nested.yml
20-
docs_config: .github/actions/mkdocs-pages/mkdocs-nested.yml
23+
docs_config: .github/mkdocs/mkdocs-nested.yml

0 commit comments

Comments
 (0)