Skip to content

Merge pull request #404 from dyte-io/chore/release-notes #524

Merge pull request #404 from dyte-io/chore/release-notes

Merge pull request #404 from dyte-io/chore/release-notes #524

Workflow file for this run

name: Run algolia docsearch
on:
push:
branches:
- 'ci/docsearch'
- main
schedule:
- cron: '0 12 * * 1'
jobs:
docsearch:
runs-on: ubuntu-latest
if: github.repository == 'dyte-io/docs'
steps:
- uses: actions/checkout@v2
- name: Setup environment
run: |
echo "APPLICATION_ID=$APPLICATION_ID" >> .env
echo "API_KEY=$API_KEY" >> .env
chmod +x ./bin/crawl.sh
env:
APPLICATION_ID: ${{ secrets.ALGOLIA_DOCSEARCH_APP_ID }}
API_KEY: ${{ secrets.ALGOLIA_DOCSEARCH_API_KEY }}
- name: Run docsearch
continue-on-error: true
run: |
./bin/crawl.sh