mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-05 19:15:34 +00:00
fix: change secret type
This commit is contained in:
parent
106616187b
commit
701c415f4d
4
.github/workflows/make_test_ebook.yaml
vendored
4
.github/workflows/make_test_ebook.yaml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user