Skip to content

Set up .env.template instruction (#443) #6

Set up .env.template instruction (#443)

Set up .env.template instruction (#443) #6

Workflow file for this run

name: Vercel -> Algolia Crawler (push on main)
on:
push:
branches: [ main ]
jobs:
algolia_recrawl:
name: Algolia Recrawl
runs-on: ubuntu-latest
steps:
# checkout this repo
- name: Checkout Repo
uses: actions/checkout@v2
- name: Vercel-MAIN => Algolia crawler creation and recrawl on preview (Push on Main branch)
uses: algolia/algoliasearch-crawler-github-actions@v1
id: crawler_push
with:
crawler-user-id: ${{ secrets.ALGOLIA_CRAWLER_USER_ID }}
crawler-api-key: ${{ secrets.ALGOLIA_CRAWLER_API_KEY }}
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }}
algolia-api-key: ${{ secrets.ALGOLIA_SEARCH_API_KEY }}
site-url: 'https://docs.flashbots.net/'
override-config: true