Skip to content

Commit

Permalink
update for prod and develop to update indexes (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
dghelm authored Aug 22, 2023
1 parent 6350278 commit 32e2a8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-algolia-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push]

jobs:
update-prod-index:
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/prod' }}
name: Update algolia index -- Prod
runs-on: ubuntu-latest
env:
Expand All @@ -25,7 +25,7 @@ jobs:
run: npm run update-algolia-index

update-dev-index:
if: ${{ github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/sepolia-content-population' }}
if: ${{ github.ref == 'refs/heads/develop' }}
name: Update algolia index -- Dev
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit 32e2a8d

Please sign in to comment.