File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 1313
1414env :
1515 CRAWLER_ID : 7a46f2b7-7169-4936-986d-21391c3134d4
16- CRAWLER_USER_ID : ${{ secrets.CRAWLER_USER_ID }}
17- CRAWLER_API_KEY : ${{ secrets.CRAWLER_API_KEY }}
1816
1917permissions :
2018 contents : read
@@ -90,13 +88,12 @@ jobs:
9088 needs : deploy
9189
9290 steps :
93- - name : " Algolia Start Crawl"
94- if : ${{ !cancelled() }}
95- uses : cssnr/web-request-action@v1
91+ - name : " Algolia Crawler"
92+ uses : cssnr/algolia-crawler-action@v1
9693 with :
97- url : https://crawler.algolia.com/api/1/crawlers/ ${{ env.CRAWLER_ID }}/reindex
98- username : ${{ env .CRAWLER_USER_ID }}
99- password : ${{ env .CRAWLER_API_KEY }}
94+ crawler_id : ${{ env.CRAWLER_ID }}
95+ crawler_user_id : ${{ secrets .CRAWLER_USER_ID }}
96+ crawler_api_key : ${{ secrets .CRAWLER_API_KEY }}
10097
10198 - name : " Send Post-Deploy Notification"
10299 if : ${{ failure() }}
You can’t perform that action at this time.
0 commit comments