From 433a163fc285799c5607e6bdc9461039bb6ae672 Mon Sep 17 00:00:00 2001 From: Akshay Mestry Date: Fri, 13 Sep 2024 07:54:02 -0500 Subject: [PATCH] ci(i18n): add support of i18n to main Signed-off-by: Akshay Mestry --- .github/workflows/publish-main-pages.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-main-pages.yaml b/.github/workflows/publish-main-pages.yaml index a46f354..7c47193 100644 --- a/.github/workflows/publish-main-pages.yaml +++ b/.github/workflows/publish-main-pages.yaml @@ -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