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