Skip to content
This repository was archived by the owner on Oct 26, 2024. It is now read-only.

Commit 02f63a2

Browse files
committed
Add en
1 parent f56c440 commit 02f63a2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/sphinx.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: Build HTML
14-
uses: ammaraskar/[email protected]
14+
uses: ammaraskar/sphinx-action@master
15+
- name: Build HTML English
16+
run: |
17+
sphinx-build -D language=en -b html ./docs docs/_build/html/en
1518
- name: Upload artifacts
1619
uses: actions/upload-artifact@v1
1720
with:
1821
name: html-docs
1922
path: docs/_build/html/
2023
- name: Deploy
2124
uses: peaceiris/actions-gh-pages@v3
22-
if: github.ref == 'refs/heads/main'
2325
with:
2426
github_token: ${{ secrets.GITHUB_TOKEN }}
2527
publish_dir: docs/_build/html

0 commit comments

Comments
 (0)