Skip to content

Commit

Permalink
fix env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
dodwmd committed Sep 22, 2024
1 parent 360cbdb commit 689f6a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/generate_post.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
path: "hugo_generator/requirements.txt"

- name: Run content generator
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
UNSPLASH_ACCESS_KEY: ${{ secrets.UNSPLASH_ACCESS_KEY }}
HUGO_CONTENT_DIR: ../content/posts
LOG_LEVEL: INFO
run: |
cd hugo_generator
python main.py
Expand Down

0 comments on commit 689f6a4

Please sign in to comment.