File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,13 @@ services:
2424 - -c
2525 - |
2626 set -e
27+ export PATCH_VERSION=$$(cat /main/+dj/version.m | grep 'v =' | sed 's/[^0-9]*/./g' | cut -c 2-6)
2728 if echo "$${MODE}" | grep -i live &>/dev/null; then
2829 mkdocs serve --config-file ./docs/mkdocs.yaml -a 0.0.0.0:80
2930 elif echo "$${MODE}" | grep -iE "qa|build" &>/dev/null; then
3031 git branch -D gh-pages || true
3132 git fetch $${UPSTREAM_REPO} gh-pages:gh-pages || true
32- mike deploy --config-file ./docs/mkdocs.yaml -u $$(grep -oE '\d+\.\d+' /main/$${PACKAGE}/version.py) latest
33+ mike deploy --config-file ./docs/mkdocs.yaml -u $PATCH_VERSION latest
3334 mike set-default --config-file ./docs/mkdocs.yaml latest
3435 if echo "$${MODE}" | grep -i qa &>/dev/null; then
3536 mike serve --config-file ./docs/mkdocs.yaml -a 0.0.0.0:80
You can’t perform that action at this time.
0 commit comments