fixed docs publishing
@@ -14,5 +14,5 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - run: docker run -v $(pwd):/docs --entrypoint mkdocs squidfunk/mkdocs-material:${MKDOCS_MATERIAL_VER} gh-deploy --force --strict
+ - uses: actions/checkout@v3
+ - run: docker run -v $(pwd):/docs --entrypoint ash squidfunk/mkdocs-material:${MKDOCS_MATERIAL_VER} -c 'git config --global --add safe.directory /docs; mkdocs gh-deploy --force --strict'
