Skip to content

Commit

Permalink
Add reindex logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Sep 8, 2024
1 parent 9cf1601 commit 81f0408
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,12 @@ jobs:
run: |
gunzip -- */download/*.tar.gz
git add --intent-to-add -- */download/*.tar
git diff --exit-code -- */download/*.tar
git diff --exit-code -- */download/*.tar
- name: "Trigger reindex"
env:
INDEXER_URL: ${{ secrets.INDEXER_URL }}
if: ${{ env.INDEXER_URL != '' && github.ref_name == 'dev' }}
run: |
curl --fail -L -H "Token: ${{ secrets.INDEXER_TOKEN }}" \
"${{ secrets.INDEXER_URL }}"/asset-packs/reindex;

0 comments on commit 81f0408

Please sign in to comment.