Skip to content

Commit

Permalink
fix: reindex algolia upon build finishing
Browse files Browse the repository at this point in the history
  • Loading branch information
dtbuchholz committed May 8, 2024
1 parent 5dd48f1 commit 33666c4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/algolia.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Algolia # Reindex site search on Algolia

on:
workflow_dispatch:
push:
branches:
- main

workflow_dispatch:
deployment_status:

jobs:
reindex:
if: github.event.deployment_status.environment == 'production' && github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
- name: Reindex Algolia
Expand Down

0 comments on commit 33666c4

Please sign in to comment.