Skip to content

Content from database recipe: Update method signatures #869

Content from database recipe: Update method signatures

Content from database recipe: Update method signatures #869

Workflow file for this run

# Updates the Algolia search index on all content changes
name: Update Algolia index
on:
push:
branches:
- main
paths:
- .github/workflows/algolia.yml
- content/**.txt
- site/config/search.php
- site/models/**
- site/plugins/**
- scripts/algolia-index
jobs:
algolia:
name: Update Algolia index
runs-on: ubuntu-latest
steps:
- name: Cancel previous workflow runs
uses: styfle/cancel-workflow-action@0.11.0
- name: Checkout
uses: actions/checkout@v3
- name: Update the Algolia index
run: scripts/algolia-index
env:
ALGOLIA_KEY: ${{ secrets.ALGOLIA_KEY }}