Merge pull request #393 from dyte-io/fix/remove-transcription-beta #523
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 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 |