This repository has been archived by the owner on Oct 17, 2023. It is now read-only.
Merge pull request #393 from noir-lang/zpedro/noir_js #141
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: Algolia Recrawl | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
algolia_recrawl: | |
name: Algolia Recrawl | |
runs-on: ubuntu-latest | |
steps: | |
# checkout this repo | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
# We don't know when the site will be deployed, we just wait a few seconds | |
# Better solutions can be found | |
- name: Sleep for 60s | |
run: sleep 60 | |
# For master branch | |
- name: Algolia crawler creation and crawl | |
uses: algolia/algoliasearch-crawler-github-actions@v1.1.0 | |
id: algolia_crawler | |
with: | |
crawler-user-id: ${{ secrets.CRAWLER_USER_ID }} | |
crawler-api-key: ${{ secrets.CRAWLER_API_KEY }} | |
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }} | |
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }} | |
site-url: 'https://noir-lang.org/' | |
crawler-name: noir-lang | |
override-config: false |