Skip to content

Commit 46766e5

Browse files
author
Drew Yang
committed
fix: 🐛 add missing git config
1 parent 3a8ddab commit 46766e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/docker-compose.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ services:
2323
if echo "$${MODE}" | grep -i live &>/dev/null; then
2424
mkdocs serve --config-file /main/docs/mkdocs.yaml -a 0.0.0.0:8000
2525
elif echo "$${MODE}" | grep -iE "qa|build" &>/dev/null; then
26+
git config --global --add safe.directory /main
27+
git config --global user.name "GitHub Action"
28+
git config --global user.email "action@github.com"
29+
git config --global pull.rebase false
2630
git branch -D gh-pages || true
2731
git fetch $${UPSTREAM_REPO} gh-pages:gh-pages || true
2832
mike deploy --ignore-remote-status --config-file /main/docs/mkdocs.yaml -u $$(grep -oP '\d+\.\d+' /main/$${PACKAGE}/version.py) latest

0 commit comments

Comments
 (0)