Skip to content

Use newer checkout action, refactor to use native package manager ins… #27

Use newer checkout action, refactor to use native package manager ins…

Use newer checkout action, refactor to use native package manager ins… #27

Workflow file for this run

name: Algolia Search
on:
schedule:
- cron: '0 10 * * *'
# TODO: Remove trigger from push event when search index scraper is fixed
push:
branches:
- '7-fix-search'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install jq
+ run: sudo apt-get update && sudo apt-get install -y jq
- name: Run Scraper

Check failure on line 18 in .github/workflows/search.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/search.yaml

Invalid workflow file

You have an error in your yaml syntax on line 18
run: |
docker run -e "APPLICATION_ID=${{ secrets.ALGOLIA_APP_ID }}" -e "API_KEY=${{ secrets.API_KEY }}" -e "CONFIG=$(cat ./config.json | jq -r tostring)" algolia/docsearch-scraper