Skip to content

Commit eb2fcd5

Browse files
authored
Merge pull request #48 from yambottle/main
fix: 🐛 increase git push post buffer size
2 parents 54dab54 + 79c9bf5 commit eb2fcd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
- PACKAGE
1515
- UPSTREAM_REPO
1616
- MODE
17-
- PATCH_VERSION
17+
- PATCH_VERSION
1818
volumes:
1919
- ../docs:/main/docs
2020
- ../${PACKAGE}:/main/${PACKAGE}
@@ -50,10 +50,10 @@ services:
5050
mike serve --config-file ./docs/mkdocs.yaml -a 0.0.0.0:80
5151
elif echo "$${MODE}" | grep -i push &>/dev/null; then
5252
echo "INFO::Push gh-pages to upstream"
53+
git config http.postBuffer 524288000 # max 500MB git push through https
5354
git push $${UPSTREAM_REPO} gh-pages
5455
fi
5556
else
5657
echo "Unexpected mode..."
5758
exit 1
5859
fi
59-

0 commit comments

Comments
 (0)