Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Add rake index with dry run
Browse files Browse the repository at this point in the history
  • Loading branch information
dshevtsov committed Nov 15, 2019
1 parent d56e48b commit b37f6aa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,11 @@ task :whatsnew do
puts 'The "since" argument must be a string/ Example: "jul 4"'
end
end

desc 'Generate index for Algolia'
task index: %w[init] do
sh 'bin/jekyll',
'algolia',
'--config=_config.yml,_config.index.yml',
'--dry-run'
end

0 comments on commit b37f6aa

Please sign in to comment.