Crawl and index documentation site for Typesense DocSearch #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run DocSearch | |
run-name: Crawl and index documentation site for Typesense DocSearch | |
on: [deployment_status] | |
jobs: | |
typesense_scraper: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 # You MUST check out your repository first! | |
- name: Run DocSearch Scraper | |
uses: celsiusnarhwal/typesense-scraper@v2 | |
with: | |
# The secret containing your Typesense API key. Required. | |
api-key: ${{ secrets.TYPESENSE_API_KEY }} | |
# The hostname or IP address of your Typesense server. Required. | |
host: typesense-search.imanity.dev | |
# The port on which your Typesense server is listening. Optional. Default: 8108. | |
port: 443 | |
# The protocol to use when connecting to your Typesense server. Optional. Default: http. | |
protocol: https | |
# The path to your DocSearch config file. Optional. Default: docsearch.config.json. | |
config: docsearch.config.json |