Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit aa380d14 authored by Jason Kridner's avatar Jason Kridner
Browse files

gitlab-build.sh: try again to fix options

parent 490f536b
Branches
Tags
No related merge requests found
Pipeline #8026 failed with stage
in 15 seconds
...@@ -54,12 +54,12 @@ HERE ...@@ -54,12 +54,12 @@ HERE
echo "**** make html ****" echo "**** make html ****"
# Build and serve HTML # Build and serve HTML
make html BUILDDIR=public/$VER_DIR $@ make $@ html BUILDDIR=public/$VER_DIR
mv public/$VER_DIR/html/* public/$VER_DIR/ mv public/$VER_DIR/html/* public/$VER_DIR/
echo "**** make latexpdf ****" echo "**** make latexpdf ****"
# Build, optimize, and serve PDF # Build, optimize, and serve PDF
make latexpdf BUILDDIR=public/$VER_DIR $1 make $@ latexpdf BUILDDIR=public/$VER_DIR
echo "**** pdfcpu ****" echo "**** pdfcpu ****"
if [ "x${CI_RUNNER_EXECUTABLE_ARCH}" == "xlinux/arm64" ] ; then if [ "x${CI_RUNNER_EXECUTABLE_ARCH}" == "xlinux/arm64" ] ; then
...@@ -138,7 +138,7 @@ elif [ "$CI_COMMIT_TAG" != "" ]; then ...@@ -138,7 +138,7 @@ elif [ "$CI_COMMIT_TAG" != "" ]; then
export VER_DIR=$GIT_BRANCH export VER_DIR=$GIT_BRANCH
export PAGES_SLUG=$GIT_BRANCH export PAGES_SLUG=$GIT_BRANCH
fi fi
do_build -D todo_include_todos=False do_build SPHINXOPTS="-D todo_include_todos=False"
else else
echo "***** Not on a branch or tag *****" echo "***** Not on a branch or tag *****"
fi fi
......
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