Skip to content

Commit 3911054

Browse files
committed
Add --local param to build.sh
1 parent 397c8ff commit 3911054

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Local build
88

99
Full build, fetching the service configuration schemas and plugin reference:
1010

11-
./build.sh --update
11+
./build.sh --update --local
1212

1313
Build using previously downloaded service configuration schemas and plugin reference:
1414

15-
./build.sh
15+
./build.sh --local

build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ echo "* Clean previous HTML build..."
7474
rm -rf site
7575

7676
echo "* Building HTML..."
77-
mike deploy -F qwc2.yml --push $branch
77+
if [ "$1" == "--local" ] || [ "$2" == "--local" ]; then
78+
mkdocs build -f qwc2.yml
79+
else
80+
mike deploy -F qwc2.yml --push $branch
81+
fi
7882

7983
# cleanup venv
8084
echo "* Clean venv..."

0 commit comments

Comments
 (0)