Set up .env.template instruction (#443) #6
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: 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 |