Skip to content

fix(extension): failed webhooks could still have started a care flow … #79

fix(extension): failed webhooks could still have started a care flow …

fix(extension): failed webhooks could still have started a care flow … #79

name: Algolia Index Update
on:
push:
branches:
- main
jobs:
update_algolia_index:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Install gray-matter and algoliasearch
run: npm install gray-matter algoliasearch glob
- name: Update Algolia Index
run: node upload-to-algolia.js
env:
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }}