diff --git a/CONTRIBUTION.md b/CONTRIBUTION.md deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/docker-compose.yaml b/docs/docker-compose.yaml index ccb2bac7..6a2eebb4 100644 --- a/docs/docker-compose.yaml +++ b/docs/docker-compose.yaml @@ -23,6 +23,10 @@ services: if echo "$${MODE}" | grep -i live &>/dev/null; then mkdocs serve --config-file /main/docs/mkdocs.yaml -a 0.0.0.0:8000 elif echo "$${MODE}" | grep -iE "qa|build" &>/dev/null; then + git config --global --add safe.directory /main + git config --global user.name "GitHub Action" + git config --global user.email "action@github.com" + git config --global pull.rebase false git branch -D gh-pages || true git fetch $${UPSTREAM_REPO} gh-pages:gh-pages || true mike deploy --ignore-remote-status --config-file /main/docs/mkdocs.yaml -u $$(grep -oP '\d+\.\d+' /main/$${PACKAGE}/version.py) latest