File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 27
27
key : test-${{ github.event_name }}-github-users-v0.1
28
28
- name : Build pages
29
29
env :
30
+ MKDOCS_GIT_COMMITTERS_BRANCH : ${{ github.event.repository.default_branch }}
30
31
MKDOCS_GIT_COMMITTERS_APIKEY : ${{ secrets.GITHUB_TOKEN }}
31
32
MKDOCS_ENABLE_GIT_REVISION_DATE : ${{ secrets.GITHUB_TOKEN && 'True' || 'False' }}
32
33
MKDOCS_ENABLE_GIT_COMMITTERS : ${{ secrets.GITHUB_TOKEN && 'True' || 'False' }}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Deploy
3
3
on :
4
4
push :
5
5
branches :
6
- - ' main'
6
+ - main
7
7
pull_request :
8
8
9
9
jobs :
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ plugins:
74
74
docs_path : src/
75
75
token : !ENV MKDOCS_GIT_COMMITTERS_APIKEY
76
76
enabled : !ENV [MKDOCS_ENABLE_GIT_COMMITTERS, False]
77
- branch : main
77
+ branch : !ENV [MKDOCS_GIT_COMMITERS_BRANCH, main]
78
78
- macros
79
79
- rss
80
80
You can’t perform that action at this time.
0 commit comments