Skip to content

ig manual draft

ig manual draft #5

name: "[Search] Build and publish search index"
on:
push:
branches: ['main']
jobs:
build:
name: Algolia push records
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Ruby 3.1.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.2
- name: Install dependencies and push records
run: |
cd docs
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec jekyll algolia
env:
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}