ci: set token for git-committers

This commit is contained in:
Alexandre Pujol 2024-09-26 20:20:20 +01:00
parent 03e974525e
commit 5d14ff8e5c
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 3 additions and 2 deletions

View File

@ -190,7 +190,7 @@ pages:
GIT_DEPTH: 0
script:
- pip install -r requirements.txt
- mkdocs build --strict --site-dir public
- mkdocs build --site-dir public
artifacts:
paths:
- public

View File

@ -64,12 +64,13 @@ plugins:
- offline:
enabled: !ENV [MKDOCS_OFFLINE, true]
- git-revision-date-localized:
enabled: !ENV [ENABLED_GIT_REVISION_DATE, True]
enabled: !ENV [ENABLED_GIT_REVISION_DATE, true]
enable_creation_date: true
fallback_to_build_date: true
- minify:
minify_html: true
- git-committers:
token: !ENV [MKDOCS_GIT_COMMITTERS_APIKEY]
repository: roddhjav/apparmor.d
branch: main