diff options
author | Sarah German <sgerman@gitlab.com> | 2022-09-21 19:24:16 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2022-09-21 19:24:16 +0300 |
commit | 45c2347987b8abbd0922d629e3a8f0a61adb8d50 (patch) | |
tree | 92a216157842f8854f0a17cf20d350a12403f9ad | |
parent | 1a785371c96526b3c261e190c94fb3cd16be8b33 (diff) |
Default review apps to Lunrsarahg/672-lunr-frontend
-rw-r--r-- | .gitlab/ci/build-and-deploy.gitlab-ci.yml | 8 | ||||
-rw-r--r-- | doc/docsearch.md | 4 |
2 files changed, 2 insertions, 10 deletions
diff --git a/.gitlab/ci/build-and-deploy.gitlab-ci.yml b/.gitlab/ci/build-and-deploy.gitlab-ci.yml index f062fd02..7cbf976f 100644 --- a/.gitlab/ci/build-and-deploy.gitlab-ci.yml +++ b/.gitlab/ci/build-and-deploy.gitlab-ci.yml @@ -52,12 +52,8 @@ compile_dev: extends: - .rules_dev - .build_base - rules: - # Build the site with Lunr search if this string is in the branch name - - if: $CI_COMMIT_BRANCH =~ "lunr" - variables: - ALGOLIA_SEARCH: "false" - + variables: + ALGOLIA_SEARCH: 'false' ############################################### # Review Apps # diff --git a/doc/docsearch.md b/doc/docsearch.md index 0b3a9049..9b32b2b4 100644 --- a/doc/docsearch.md +++ b/doc/docsearch.md @@ -129,7 +129,3 @@ You can compile your local Nanoc site to use a specific search backend by settin - Use Algolia search: `export ALGOLIA_SEARCH="true"` (or leave this undefined) - Use Lunr search: `export ALGOLIA_SEARCH="false"` - If you do not set this variable before compiling, the build will default to Algolia. - -### Review apps - -Review apps default to Algolia search. If you need to render Lunr in a review app, include the word `lunr` in your branch name. |