Skip to content

Commit

Permalink
final workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
snreynolds committed Jul 8, 2021
1 parent 33dd002 commit ce94e77
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest

name: Run Scraper
env:
APPLICATION_ID: ${{secrets.APPLICATION_ID}}
API_KEY: ${{secrets.ALGOLIA_API}}
steps:
- uses: actions/checkout@v2
- name: Run Scraper
run: |
brew install jq
docker run -it -e "APPLICATION_ID=${{secrets.APPLICATION_ID}}" "API_KEY=${{secrets.ALGOLIA_API}}" "CONFIG=$(cat ./config.json | jq -r tostring)" algolia/docsearch-scraper
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 ce94e77

Please sign in to comment.