Skip to content

Merge pull request #328 from vitest-dev/sync-8b7442b2-1 #112

Merge pull request #328 from vitest-dev/sync-8b7442b2-1

Merge pull request #328 from vitest-dev/sync-8b7442b2-1 #112

Workflow file for this run

name: algolia
on:
push:
branches:
- dev
jobs:
algolia:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get the content of algolia.json as config
id: algolia_config
run: echo "config=$(cat crawlerConfig.json | jq -r tostring)" >> $GITHUB_OUTPUT
- name: Push indices to Algolia
uses: signcl/docsearch-scraper-action@master
env:
APPLICATION_ID: ${{ secrets.APPLICATION_ID }}
API_KEY: ${{ secrets.API_KEY }}
CONFIG: ${{ steps.algolia_config.outputs.config }}