Skip to content

Commit

Permalink
update secrets action
Browse files Browse the repository at this point in the history
  • Loading branch information
aapatni committed Feb 28, 2024
1 parent e68cdd3 commit 5a11eff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,19 @@ jobs:
REDDIT_APP_KEY: ${{ secrets.REDDIT_APP_KEY }}
SUPABASE_WATCHDB_URL: ${{ secrets.SUPABASE_WATCHDB_URL }}
SUPABASE_WATCHDB_SERVICE_ROLE_KEY: ${{ secrets.SUPABASE_WATCHDB_SERVICE_ROLE_KEY }}
DB_USER: ${{ secrets.DB_USER }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
DB_HOST_URL: ${{ secrets.DB_HOST_URL }}
DB_PORT: ${{ secrets.DB_PORT }}
run: python src/data_collection/reddit_crawler.py --post_limit 15

- name: Run the watchdb populator to
env:
SUPABASE_WATCHDB_URL: ${{ secrets.SUPABASE_WATCHDB_URL }}
SUPABASE_WATCHDB_SERVICE_ROLE_KEY: ${{ secrets.SUPABASE_WATCHDB_SERVICE_ROLE_KEY }}
OPENAI_API_CHRONO_KEY: ${{ secrets.OPENAI_API_CHRONO_KEY }}
DB_USER: ${{ secrets.DB_USER }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
DB_HOST_URL: ${{ secrets.DB_HOST_URL }}
DB_PORT: ${{ secrets.DB_PORT }}
run: python src/data_collection/watchdb_populator.py --num_requests 25

0 comments on commit 5a11eff

Please sign in to comment.