From 5a2584a29fbb5a0a12627516a7de1ce80f75ed96 Mon Sep 17 00:00:00 2001 From: Alleria Date: Sun, 30 Jun 2024 00:15:14 -0700 Subject: [PATCH] update the tests --- .github/workflows/documentation.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 6d11a5bb..158c06d8 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -34,23 +34,22 @@ jobs: poetry config virtualenvs.create false poetry install - - name: Debug current directory and Build documentation using Makefile + - name: Build documentation using Makefile run: | echo "Building documentation from: $(pwd)" ls -l # Debug: List current directory contents - cd docs - poetry run make html + poetry run make -C docs html working-directory: ${{ github.workspace }} - name: List built documentation run: | - find ./docs/build/ -type f + find ./build/ -type f working-directory: ${{ github.workspace }}/docs - name: Create .nojekyll file run: | - touch ./docs/build/.nojekyll - working-directory: ${{ github.workspace }}/docs + touch .nojekyll + working-directory: ${{ github.workspace }}/docs/build - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 @@ -64,6 +63,6 @@ jobs: - name: Debug Output run: | pwd # Print the current working directory - ls -l ./docs/build/ # List files in the build directory - cat ./docs/source/conf.py # Show Sphinx config file for debugging - working-directory: ${{ github.workspace }} + ls -l # List files in the build directory + cat ./source/conf.py # Show Sphinx config file for debugging + working-directory: ${{ github.workspace }}/docs/build