fix casting with empty dataframes #408
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: Docsearch Scraper | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
update-docsearch: | |
runs-on: ubuntu-20.04 | |
steps: | |
# Check out latest code | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Update DocSearch | |
env: | |
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_ID }} | |
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_ADMIN_API_KEY }} | |
run: docker run --env ALGOLIA_APP_ID=$ALGOLIA_APP_ID --env ALGOLIA_API_KEY=$ALGOLIA_API_KEY -e "CONFIG=$(cat ./docs/algolia.config.json | jq -r tostring)" algolia/docsearch-scraper |