Skip to content

Commit 889f7df

Browse files
committed
uncomment docker compose
1 parent 8943325 commit 889f7df

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/docker-compose.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ services:
4848
echo "INFO::mike"
4949
mike deploy --config-file ./docs/mkdocs.yaml -u $$(grep -oE '\d+\.\d+' /main/$${PACKAGE}/version.py) latest
5050
mike set-default --config-file ./docs/mkdocs.yaml latest
51-
# if echo "$${MODE}" | grep -i qa &>/dev/null; then
52-
# mike serve --config-file ./docs/mkdocs.yaml -a 0.0.0.0:80
53-
# elif echo "$${MODE}" | grep -i push &>/dev/null; then
54-
# echo "INFO::Push gh-pages to upstream"
55-
# git push $${UPSTREAM_REPO} gh-pages
56-
# fi
51+
if echo "$${MODE}" | grep -i qa &>/dev/null; then
52+
mike serve --config-file ./docs/mkdocs.yaml -a 0.0.0.0:80
53+
elif echo "$${MODE}" | grep -i push &>/dev/null; then
54+
echo "INFO::Push gh-pages to upstream"
55+
git push $${UPSTREAM_REPO} gh-pages
56+
fi
5757
else
5858
echo "Unexpected mode..."
5959
exit 1

0 commit comments

Comments
 (0)