Skip to content

Commit

Permalink
Revert commit 28298f that forces reindexing on PR builds
Browse files Browse the repository at this point in the history
  • Loading branch information
yzdocs committed Apr 28, 2020
1 parent a5429d1 commit ed0673b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions netlify/build
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ build _config_cockroachcloud.yml
cp _site/docs/_redirects _site/_redirects
cat _site/docs/cockroachcloud/_redirects >> _site/_redirects

# Run Algolia
# if [[ "$CONTEXT" = "production" ]]; then
# Run Algolia if building master
if [[ "$CONTEXT" = "production" ]]; then
echo "Building Algolia index..."
ALGOLIA_API_KEY=$PROD_ALGOLIA_API_KEY bundle exec jekyll algolia --config _config_base.yml --builds-config _config_cockroachdb.yml,_config_cockroachcloud.yml
# fi;
fi;

0 comments on commit ed0673b

Please sign in to comment.