From 701c415f4d5c4d22f571b60a8b26604e6067459b Mon Sep 17 00:00:00 2001 From: yihong0618 Date: Sat, 4 Mar 2023 21:46:26 +0800 Subject: [PATCH] fix: change secret type --- .github/workflows/make_test_ebook.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/make_test_ebook.yaml b/.github/workflows/make_test_ebook.yaml index 16de16f..877513e 100644 --- a/.github/workflows/make_test_ebook.yaml +++ b/.github/workflows/make_test_ebook.yaml @@ -31,9 +31,7 @@ jobs: - name: install python requirements run: pip install -r requirements.txt - name: make test ebook - env: - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - run: python3 make_book.py --book_name "test_books/${{ env.EPUB_FILENAME_BASE}}.epub" --no_limit --test --test_num 2 --language zh-hans + run: python3 make_book.py --book_name "test_books/${{ env.EPUB_FILENAME_BASE}}.epub" --no_limit --test --test_num 2 --language zh-hans --openai_key ${{secrets.OPENAI_API_KEY }} - name: Rename and Upload ePub uses: actions/upload-artifact@v2 with: