Build API docs conditionally

parent 35439436
......@@ -5,7 +5,7 @@ pages:
- apk --no-cache add py3-pip python3-dev
- pip3 install -r requirements.txt
- apk --no-cache add make
- make MODPATH=$MODPATH -C docs/ apidoc
- if [ -d "$MODPATH" ]; then make MODPATH=$MODPATH -C docs/ apidoc; fi
- make -C $DOCSPATH html
- mv $DOCSPATH/build/html public/
artifacts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment