Skip to content

Commit

Permalink
Provide secrets for workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
szapp committed Aug 4, 2024
1 parent 0adb519 commit 69e9cee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update_recommendations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,16 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
cache-dependency-path: requirements.txt

- name: Install dependencies
run: pip install -r requirements.txt

- name: Update recommendations in database
run: python update_database.py
env:
POSTGRES_USER: "${{ secrets.POSTGRES_USER }}"
POSTGRES_PASSWORD: "${{ secrets.POSTGRES_PASSWORD }}"
POSTGRES_HOST: "${{ secrets.POSTGRES_HOST }}"
POSTGRES_DB: "${{ secrets.POSTGRES_DB }}"

0 comments on commit 69e9cee

Please sign in to comment.