Some checks failed
build / lint (22) (push) Failing after 17s
build / test (22) (push) Failing after 8s
build / lint (23) (push) Failing after 2s
build / build (22) (push) Has been skipped
build / build (23) (push) Has been skipped
build / test (23) (push) Failing after 4s
docsearch / docsearch (push) Failing after 1s
28 lines
816 B
YAML
28 lines
816 B
YAML
# Automate, customize, and execute your software development workflows right in your repository with GitHub Actions.
|
|
# Documentation: https://docs.github.com/en/actions
|
|
|
|
name: docsearch
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '5 1 * * *'
|
|
|
|
jobs:
|
|
|
|
docsearch:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- name: Run DocSearch Scraper
|
|
shell: bash
|
|
run: |
|
|
docker run \
|
|
-e TYPESENSE_API_KEY=${{ secrets.TYPESENSE_API_KEY }} \
|
|
-e TYPESENSE_HOST="${{ secrets.TYPESENSE_HOST }}" \
|
|
-e TYPESENSE_PORT="${{ secrets.TYPESENSE_PORT }}" \
|
|
-e TYPESENSE_PROTOCOL="${{ secrets.TYPESENSE_PROTOCOL }}" \
|
|
-e CONFIG="$(cat docsearch.config.json | jq -r tostring)" \
|
|
typesense/docsearch-scraper
|