@@ -82,26 +82,26 @@ jobs:
8282 # The environment this job references
8383 environment : Production
8484
85- # The type of runner that the job will run on
86- runs-on : ubuntu-20.04
87- needs : [deploy-production]
88- # Run job only if there are changes to 'content/docs/**'
89- if : |
90- needs.deploy-production.outputs.docs == 'true'
85+ # The type of runner that the job will run on
86+ runs-on : ubuntu-20.04
87+ needs : [deploy-production]
88+ # Run job only if there are changes to 'content/docs/**'
89+ if : |
90+ needs.deploy-production.outputs.docs == 'true'
9191
92- steps :
93- # Step 1 - Checks-out your repository under $GITHUB_WORKSPACE
94- - name : Checkout
95- uses : actions/checkout@v3
92+ steps :
93+ # Step 1 - Checks-out your repository under $GITHUB_WORKSPACE
94+ - name : Checkout
95+ uses : actions/checkout@v3
9696
97- # Step 2 - Perform DocSearch crawl only if content files were changed
98- - name : Algolia crawl on content update
99- uses : algolia/algoliasearch-crawler-github-actions@v1.1.13
100- id : docsearch-crawl
101- with :
102- crawler-user-id : ${{ secrets.CRAWLER_USER_ID }}
103- crawler-name : ' lotusdev'
104- crawler-api-key : ${{ secrets.CRAWLER_API_KEY }}
105- algolia-app-id : ${{ secrets.ALGOLIA_APP_ID }}
106- algolia-api-key : ${{ secrets.ALGOLIA_API_KEY }}
107- site-url : ' https://lotusdocs.dev/'
97+ # Step 2 - Perform DocSearch crawl only if content files were changed
98+ - name : Algolia crawl on content update
99+ uses : algolia/algoliasearch-crawler-github-actions@v1.1.13
100+ id : docsearch-crawl
101+ with :
102+ crawler-user-id : ${{ secrets.CRAWLER_USER_ID }}
103+ crawler-name : ' lotusdev'
104+ crawler-api-key : ${{ secrets.CRAWLER_API_KEY }}
105+ algolia-app-id : ${{ secrets.ALGOLIA_APP_ID }}
106+ algolia-api-key : ${{ secrets.ALGOLIA_API_KEY }}
107+ site-url : ' https://lotusdocs.dev/'
0 commit comments