Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/search-index-scraper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Search Index Scraper

on:
push:
branches:
- develop
workflow_dispatch:
#

jobs:
scrape:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get DocSearch configuration
id: docsearch-config
run: echo "::set-output name=json::$(cat docsearch.json | jq -r tostring)"
- name: Get docsearch scraper docker image
run: docker pull typesense/docsearch-scraper:latest
- name: Run DocSearch Scraper
run: |
docker run -e CONFIG -e TZ -e TYPESENSE -e TYPESENSE_HOST -e TYPESENSE_PORT -e TYPESENSE_PROTO typesense/docsearch-scraper
env:
TZ: UTC
TYPESENSE_API_KEY: ${{ secrets.TYPESENSE_API_KEY }}
TYPESENSE_HOST: ${{ secrets.TYPESENSE_HOST }}
TYPESENSE_PROTOCOL: https
TYPESENSE_PORT: 443
CONFIG: ${{ steps.docsearch-config.outputs.json }}

54 changes: 4 additions & 50 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.