Skip to content

Commit

Permalink
ci(i18n): add support of i18n to main
Browse files Browse the repository at this point in the history
Signed-off-by: Akshay Mestry <xa@mes3.dev>
  • Loading branch information
xames3 committed Sep 13, 2024
1 parent e42bfef commit 433a163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-main-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# -q: Run in quiet mode, with minimal output.
run: |
echo "Building Sphinx documentation..."
sphinx-build -EWaq -b html ${{ env.SOURCE_DIR }} ${{ env.OUTPUT_DIR }}
sphinx-build -Eaq --builder html --define language=en ${{ env.SOURCE_DIR }} ${{ env.OUTPUT_DIR }}/en && sphinx-build -Eaq --builder html --define language=es ${{ env.SOURCE_DIR }} ${{ env.OUTPUT_DIR }}/es
# Step 5: Deploy the built HTML files to the specified branch (GitHub Pages).
- name: MAIN | Deploy to GitHub Pages
Expand Down

0 comments on commit 433a163

Please sign in to comment.