Skip to content

chore: use Rails load_defaults for test runs (#473) #447

chore: use Rails load_defaults for test runs (#473)

chore: use Rails load_defaults for test runs (#473) #447

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:
- run: 'sudo apt-get -y libc6=2.28-10+deb10u4 libc-bin=2.28-10+deb10u4'
- uses: actions/checkout@v4
- 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"