add OPENAI_KEY

This commit is contained in:
jeffery 2023-03-03 19:20:35 +08:00
parent e686f65db6
commit 489746c4be

View File

@ -23,5 +23,7 @@ jobs:
- name: install python requirements
run: pip install -r requirements.txt
- name: make test ebook
run: python3 make.py --book_name test_books/animal_farm.epub --no_limit --test
env:
KEY: ${{ secrets.OPENAI_KEY }}
run: python3 make.py --book_name test_books/animal_farm.epub --openai_key $KEY --no_limit --test