Mkdocs-material: Deployment to Github Pages fails

Created on 28 Jan 2018  路  3Comments  路  Source: squidfunk/mkdocs-material

Description

Deployment to Github Pages fails

Expected behavior

Built documentation on gh-pages branch

Actual behavior

INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: /docs/site
INFO    -  Copying '/docs/site' to 'gh-pages' branch and pushing to GitHub.
git: 'fast-import' is not a git command. See 'git --help'.

Steps to reproduce the bug

docker run --rm -it -v ${userprofile}/.ssh:/root/.ssh -v ${PWD}:/docs squidfunk/mkdocs-material gh-deploy

Package versions

Docker image squidfunk/mkdocs-material:2.5.3

Project configuration

site_name: SAFE Documentation

theme:
  name: 'material'

# Repository
repo_name: SAFE-Documentation
repo_url: https://github.com/kfrie/SAFE-documentation/
edit_uri: edit/master/docs/

markdown_extensions:
  - codehilite

pages:
- Home: 'index.md'
- Use with CSS Frameworks:
    - 'Wrap React Components': 'wrap-react-components.md'

System information

  • Windows 10 Education Version 10.0.16299 Build 16299
bug

All 3 comments

Thanks for filing the issue. Alpine Linux recently moved git-fast-import into a separate package (see this issue) to reduce size. I will add it to the Dockerfile and make a bugfix release.

@squidfunk Thank you very much for the super fast support!

Fixed in #685, will be released as 2.5.4 shortly.

Was this page helpful?
0 / 5 - 0 ratings