Skip to content

Commit

Permalink
test the deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Alleria1809 committed Jul 23, 2024
1 parent e15681a commit 413b2eb
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 197 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/documentation_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,17 @@ jobs:
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH # Ensure Poetry's bin directory is in PATH
- name: Install documentation dependencies using Poetry
- name: Install package dependencies using Poetry
run: |
poetry install --only doc # Install only the documentation dependencies
cd lightrag
poetry config virtualenvs.create false # Avoid creating a virtual environment
poetry install # Install only the package dependencies as specified in lightrag/pyproject.toml
cd .. # Change back to the root directory
- name: Install package dependencies
- name: Install documentation dependencies using Poetry
run: |
cd lightrag
poetry install # Install package dependencies
poetry config virtualenvs.create false # Avoid creating a virtual environment
poetry install --only doc # Install only the doc dependencies as specified in pyproject.toml
- name: Build documentation using Makefile
run: |
Expand Down Expand Up @@ -68,3 +71,11 @@ jobs:
publish_dir: ./docs/build/ # Directory containing the built documentation
user_name: github-actions[bot] # Username for the commit
user_email: github-actions[bot]@users.noreply.github.com # Email for the commit

# Uncomment below for debugging purposes
# - name: Debug Output
# run: |
# 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
Loading

0 comments on commit 413b2eb

Please sign in to comment.