File tree Expand file tree Collapse file tree 4 files changed +6
-156
lines changed
daprdocs/layouts/_partials/hooks Expand file tree Collapse file tree 4 files changed +6
-156
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6161 output_location : " /"
6262 skip_app_build : true
6363 skip_deploy_on_missing_secrets : true
64- - name : Upload Hugo artifacts for Algolia
65- uses : actions/upload-artifact@v4
66- with :
67- name : hugo_build
68- path : ./daprdocs/public/
69- if-no-files-found : error
7064
7165 close_staging_site :
7266 if : github.event_name == 'pull_request' && github.event.action == 'closed'
8074 azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PROUD_BAY_0E9E0E81E }}
8175 action : " close"
8276 skip_deploy_on_missing_secrets : true
83-
84- algolia_index :
85- name : Index site for Algolia
86- if : github.event_name == 'push'
87- needs : ['build_and_deploy_job']
88- runs-on : ubuntu-latest
89- env :
90- ALGOLIA_APP_ID : ${{ secrets.ALGOLIA_APP_ID }}
91- ALGOLIA_API_WRITE_KEY : ${{ secrets.ALGOLIA_API_WRITE_KEY }}
92- ALGOLIA_INDEX_NAME : daprdocs
93- steps :
94- - name : Checkout docs repo
95- uses : actions/checkout@v4
96- with :
97- submodules : false
98- - name : Download Hugo artifacts for Algolia
99- uses : actions/download-artifact@v4
100- with :
101- name : hugo_build
102- path : site/
103- - name : Install Python packages
104- run : |
105- pip install --upgrade bs4
106- pip install --upgrade 'algoliasearch>=2.0,<3.0'
107- - name : Index site
108- run : python ./.github/scripts/algolia.py ./site
Original file line number Diff line number Diff line change 55< script type ="text/javascript ">
66 docsearch ( {
77 container : '#docsearch' ,
8- appId : 'O0QLQGNF38 ' ,
9- apiKey : '54ae43aa28ce8f00c54c8d5f544d29b9 ' ,
10- indexName : 'crawler_dapr ' ,
8+ appId : '{{ .appId }} ' ,
9+ apiKey : '{{ .apiKey }} ' ,
10+ indexName : '{{ .indexName }} ' ,
1111 } ) ;
1212</ script >
1313
Original file line number Diff line number Diff line change @@ -188,9 +188,9 @@ params:
188188
189189 search :
190190 algolia :
191- appId : ' O0QLQGNF38'
192- apiKey : ' 54ae43aa28ce8f00c54c8d5f544d29b9'
193- indexName : daprdocs
191+ appId : O0QLQGNF38
192+ apiKey : 54ae43aa28ce8f00c54c8d5f544d29b9
193+ indexName : crawler_dapr
194194 offlineSearch : false
195195
196196 # User interface configuration
You can’t perform that action at this time.
0 commit comments