fix: change secret type

This commit is contained in:
yihong0618 2023-03-04 21:46:26 +08:00
parent 106616187b
commit 701c415f4d

View File

@ -31,9 +31,7 @@ jobs:
- name: install python requirements - name: install python requirements
run: pip install -r requirements.txt run: pip install -r requirements.txt
- name: make test ebook - name: make test ebook
env: 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 }}
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
- name: Rename and Upload ePub - name: Rename and Upload ePub
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with: