-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
39 lines (39 loc) · 979 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: 'Algolia Docsearch Scraper'
description: 'Update the devportal-docs index on Algolia'
inputs:
algolia_application_id:
description: 'Algolia docsearch APPLICATION_ID'
required: true
algolia_api_key:
description: 'Algolia docsearch API_KEY'
required: true
files:
description: 'File paths to docsearch'
required: true
added:
description: 'new files to index'
required: false
removed:
description: 'files to remove records'
required: false
updated:
description: 'files to update records'
required: false
renamed:
description: 'files to update records'
required: false
outputs:
errors:
description: >
Array of urls with errors
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.algolia_application_id }}
- ${{ inputs.algolia_api_key }}
- ${{ inputs.files }}
- ${{ inputs.added }}
- ${{ inputs.removed }}
- ${{ inputs.updated }}
- ${{ inputs.renamed }}