Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2023-01-25 13:55:59 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2023-01-25 13:55:59 +0300
commitd98ca853a5b291133ca76323616ce3dd9c34693c (patch)
tree572f74ee7a875995c55e6fc1b8b7dc87b135784c /dockerfiles/single.Dockerfile
parent911830a6ab2fd270880afef8f4735f31b6974bc8 (diff)
Rename ALGOLIA_SEARCH variable to be more generic
Diffstat (limited to 'dockerfiles/single.Dockerfile')
-rw-r--r--dockerfiles/single.Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/dockerfiles/single.Dockerfile b/dockerfiles/single.Dockerfile
index ec603f79..0308c49e 100644
--- a/dockerfiles/single.Dockerfile
+++ b/dockerfiles/single.Dockerfile
@@ -26,11 +26,11 @@ COPY --from=minifier /minify /usr/local/bin/minify
# Set versions as build args to fetch corresponding branches
ARG VER
-ARG ALGOLIA_SEARCH
+ARG SEARCH_BACKEND
ARG NANOC_ENV
ENV CI_COMMIT_REF_NAME=$VER
-ENV ALGOLIA_SEARCH=$ALGOLIA_SEARCH
+ENV SEARCH_BACKEND=$SEARCH_BACKEND
ENV NANOC_ENV=$NANOC_ENV
#
@@ -79,7 +79,7 @@ RUN yarn install --frozen-lockfile \
&& bundle exec rake default \
&& bundle exec nanoc compile -VV
-RUN if [ "$ALGOLIA_SEARCH" = "false" ]; then make build-lunr-index; fi
+RUN if [ "$SEARCH_BACKEND" = "lunr" ]; then make build-lunr-index; fi
# Move generated HTML to /site
RUN mkdir /site \