Skip to content

Commit

Permalink
Use newer checkout action, refactor to use native package manager ins…
Browse files Browse the repository at this point in the history
…tead of homebrew
  • Loading branch information
mokaymokay committed Nov 14, 2024
1 parent 073e904 commit 64f4d52
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- uses: actions/checkout@v4
- name: Install jq
+ run: sudo apt-get update && sudo apt-get install -y jq
- name: Run Scraper
run: |
brew install jq
docker run -e "APPLICATION_ID=${{ secrets.ALGOLIA_APP_ID }}" -e "API_KEY=${{ secrets.API_KEY }}" -e "CONFIG=$(cat ./config.json | jq -r tostring)" algolia/docsearch-scraper

0 comments on commit 64f4d52

Please sign in to comment.