Skip to content

Commit 4b9abb0

Browse files
committed
improved deployments and algolia indexing
1 parent 46c9c4c commit 4b9abb0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/reindex-algolia.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ jobs:
7171
crawler-api-key: ${{ secrets.CRAWLER_API_KEY }}
7272
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }}
7373
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }}
74-
crawler-name: ${{ secrets.CRAWLER_NAME }}
74+
crawler-name: ${{ secrets.ALGOLIA_CRAWLER_NAME }}
7575
site-url: ${{ secrets.SITE_URL }}
76+
override-config: true
7677

7778
- name: Get workflow run details
7879
if: github.event_name == 'workflow_run'
@@ -118,7 +119,7 @@ jobs:
118119
119120
| Status | Index | Environment | Time |
120121
|--------|-------|-------------|------|
121-
| ✅ Success | ${{ secrets.INDEX_NAME }} | ${{ steps.set-env.outputs.environment }} | ${new Date().toISOString()} |
122+
| ✅ Success | ${{ secrets.ALGOLIA_INDEX_NAME }} | ${{ steps.set-env.outputs.environment }} | ${new Date().toISOString()} |
122123
123124
Your documentation changes are now searchable in production.
124125
@@ -137,7 +138,7 @@ jobs:
137138
run: |
138139
if [ "${{ steps.algolia_crawler.outcome }}" == "success" ]; then
139140
echo "✅ Algolia reindexing completed successfully for ${{ steps.set-env.outputs.environment }} environment"
140-
echo "📍 Index: ${{ secrets.INDEX_NAME }}"
141+
echo "📍 Index: ${{ secrets.ALGOLIA_INDEX_NAME }}"
141142
echo "🌐 Site URL: ${{ secrets.SITE_URL }}"
142143
else
143144
echo "❌ Algolia reindexing failed"

0 commit comments

Comments
 (0)