Skip to content

Commit af3d84c

Browse files
Ref #105495 - staging indexation
1 parent c6800bf commit af3d84c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ecedi-search-engine-indexer.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: ecedi - Content indexation
22

33
on:
44
workflow_call:
5+
api_url:
6+
description: 'Indexer API URL override'
7+
required: false
8+
type: string
59
secrets:
610
ECEDI_INDEXER_API_URL:
711
required: true
@@ -32,6 +36,6 @@ jobs:
3236
- name: Indexation
3337
run: php modules/search-engine-indexer/index.php
3438
env:
35-
API_URL: ${{ secrets.ECEDI_INDEXER_API_URL }}
39+
API_URL: ${{ inputs.api_url || secrets.ECEDI_INDEXER_API_URL }} #${{ inputs.api_url || secrets.ECEDI_INDEXER_API_URL }}
3640
API_KEY: ${{ secrets.ECEDI_INDEXER_API_KEY }}
3741
API_BASIC_AUTH: ${{ secrets.ECEDI_API_BASIC_AUTH || '' }}

0 commit comments

Comments
 (0)