Skip to content

Commit

Permalink
pass secrets in command directly
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaiblaga89 committed Apr 10, 2024
1 parent 40ce461 commit 299645b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/next.yml
Expand Up @@ -39,8 +39,5 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: algolia/docsearch-scraper
options: --env-file=algolia.env
run: |
export CONFIG='${{ steps.scraper_config.outputs.scraper_config }}'
echo $CONFIG
pipenv run python -m src.index
CONFIG='${{ steps.scraper_config.outputs.scraper_config }}' APPLICATION_ID=${{ secrets.ALGOLIA_APPLICATION_ID }} API_KEY=${{ secrets.ALGOLIA_API_KEY }} pipenv run python -m src.index

0 comments on commit 299645b

Please sign in to comment.