Closed ArdennesEtape closed 3 years ago
Not having the issues with previous release, ie 7.3.5-insiders.3.1.4
This works:
image: python:latest
pages:
stage: deploy
only:
- main
script:
# - pip install mkdocs-material
- pip install git+https://__TOKEN__@github.com/squidfunk/mkdocs-material-insiders.git@7.3.5-insiders.3.1.4
- pip install mkdocs-minify-plugin
- pip install mkdocs-git-revision-date-plugin
- mkdocs build --site-dir public
artifacts:
paths:
- public
Errors occur with all releases after 7.3.5-insiders.3.1.4
Thanks for reporting. Possibly related to #3167.
Okay, I think I've got a fix in 1a7f20889
. I could simplify the code and I've tested it with and without tags file, and with and without specifying the navigation. I hope that this covers all cases now.
Could you try the latest master
and see if the GitLab deploy works again?
hi @squidfunk
Awesome... Just tested and everything went well.
Thanks !
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
Unable to build the static site via Gitlab-CI
Everything goes well when running the site locally via docker
tested with and without
custom_dir
setting inmkdocs.yml
Expected behaviour
generate the static site
Actual behaviour
error when running the GitLab CI and also fails when running locally
gitlab-runner exec docker pages
Steps to reproduce
Either deploy to Gitlab or try to run local via
gitlab-runner exec docker pages
This is the content of.gitab-ci.yml
:Error:
Package versions
using
python:latest
docker containerConfiguration
System information
N/A >> docker