From 36d8d0b1e7c24f3fcf27fb5c7180b58210edd522 Mon Sep 17 00:00:00 2001 From: Alleria Date: Tue, 23 Jul 2024 08:52:26 -0700 Subject: [PATCH] test the deployment --- .github/workflows/documentation_test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation_test.yml b/.github/workflows/documentation_test.yml index 07aac4e0..90af38a3 100644 --- a/.github/workflows/documentation_test.yml +++ b/.github/workflows/documentation_test.yml @@ -32,13 +32,14 @@ jobs: - name: Install documentation dependencies using Poetry run: | cd docs - poetry install --with doc # Install all dependencies including those from the main project + poetry config virtualenvs.create false # Avoid creating a virtual environment + poetry install # Install only the doc dependencies as specified in pyproject.toml - name: Build documentation using Makefile run: | echo "Building documentation from: $(pwd)" ls -l # Debug: List current directory contents - poetry run make html SPHINXOPTS=-v # Run Makefile in docs directory to build HTML docs with verbose output + poetry run make html # Run Makefile in docs directory to build HTML docs working-directory: ${{ github.workspace }}/docs - name: List built documentation @@ -71,4 +72,4 @@ jobs: # pwd # Print the current working directory # ls -l ./build/ # List files in the build directory # cat ./source/conf.py # Display the Sphinx configuration file -# working-directory: ${{ github.workspace }}/docs/build +# working-directory: ${{ github.workspace }}/docs/build \ No newline at end of file