Skip to content

Get all URLs and begin crawling #7080

Get all URLs and begin crawling

Get all URLs and begin crawling #7080

Workflow file for this run

name: Get all URLs and begin crawling
on:
schedule:
- cron: '0 */4 * * *'
workflow_dispatch:
jobs:
crawl:
name: Crawl
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm install
- name: Run script
run: npm run crawl
env:
ALGOLIA_CRAWLER_API_KEY: ${{secrets.ALGOLIA_CRAWLER_API_KEY}}
ALGOLIA_CRAWLER_ID: ${{secrets.ALGOLIA_CRAWLER_ID}}
ALGOLIA_CRAWLER_URL: ${{secrets.ALGOLIA_CRAWLER_URL}}
ALGOLIA_CRAWLER_USER_ID: ${{secrets.ALGOLIA_CRAWLER_USER_ID}}