Skip to content

Commit

Permalink
Update scraper workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CaroFG authored and tpayet committed Mar 5, 2024
1 parent 288a48c commit 34fb773
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/scraper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
name: scrape and push content on Meilisearch instance
steps:
- uses: actions/checkout@v4

- name: Prepare config file
run: |
jq '.custom_settings.embedders.default.apiKey = "${{ secrets.OPENAI_API_KEY }}"' "${{ github.workspace }}/docs-scraper.config.json" > "${{ github.workspace }}/temp-config.json" && mv "${{ github.workspace }}/temp-config.json" "${{ github.workspace }}/docs-scraper.config.json"
- name: Run docs-scraper
env:
HOST_URL: ${{ secrets.MEILISEARCH_HOST_URL }}
Expand Down

0 comments on commit 34fb773

Please sign in to comment.