Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fan-ziqi committed Nov 18, 2024
1 parent dd59f32 commit 96e0522
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/gh-pages-zhcn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@ jobs:
git config --global user.name 'fan-ziqi'
git config --global user.email '[email protected]'
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools polib==1.2.0 openai==v1.3.6 python-dotenv==1.0.0 pytest==8.2.2 sphinx-intl sphinx-book-theme==1.0.1 myst-parser sphinxcontrib-bibtex==2.5.0 autodocsumm sphinx-copybutton sphinx-icon sphinx_design sphinxemoji numpy matplotlib warp-lang gymnasium sphinx-multiversion sphinx-tabs
- name: Build HTML with translations
run: |
pushd docs
sphinx-build -M html . _build -D language='zh_CN'
popd
- name: Copy generated HTML files to temporary Path
run: |
mkdir -p temp_html
Expand Down

0 comments on commit 96e0522

Please sign in to comment.