Get all URLs and begin crawling #7080
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: 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}} |