Skip to content

fix: use ESM by default in new installations (#479) #437

fix: use ESM by default in new installations (#479)

fix: use ESM by default in new installations (#479) #437

Workflow file for this run

name: crawl
on:
push:
branches:
- main
jobs:
build:
if: ${{ startsWith(github.event.head_commit.message, 'docs') }}
name: crawl
env:
API_KEY: ${{secrets.ALGOLIA_API_KEY}}
APPLICATION_ID: GERZE019PN
runs-on: ubuntu-latest
container: algolia/docsearch-scraper
steps:
- uses: actions/checkout@v2
- run: 'sudo apt-get install -y jq'
- run: 'echo "CONFIG=$(cat docs/.algolia/config.json | jq -r tostring)" >> $GITHUB_ENV'
- run: "cd /root && pipenv install"
- run: "cd /root && pipenv run python -m src.index"