From 489746c4becf087597b8a2ad4369b6898a796a36 Mon Sep 17 00:00:00 2001 From: jeffery Date: Fri, 3 Mar 2023 19:20:35 +0800 Subject: [PATCH] add OPENAI_KEY --- .github/workflows/make_test_ebook.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/make_test_ebook.yaml b/.github/workflows/make_test_ebook.yaml index d90f89e..153c0ae 100644 --- a/.github/workflows/make_test_ebook.yaml +++ b/.github/workflows/make_test_ebook.yaml @@ -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 \ No newline at end of file