Skip to content

Commit

Permalink
Actions: Update Algolia index only on master
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Jun 11, 2024
1 parent 95bb70d commit a14481f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
popd &>/dev/null
- name: Update Algolia index
if: github.ref == 'refs/heads/master'
run: bundle exec jekyll algolia push
env:
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
Expand Down

0 comments on commit a14481f

Please sign in to comment.