Skip to content

Commit

Permalink
debug workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Alleria1809 committed Jun 30, 2024
1 parent ba824a7 commit ffeb73e
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Ensure full git history is fetched

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -42,10 +44,16 @@ jobs:
- name: Build documentation
run: |
echo "Current Working Directory: $(pwd)"
echo "Python path before Sphinx build: $PYTHONPATH"
poetry run sphinx-build -b html ./docs/source/ ./docs/build/ -vvv
echo "Listing built documentation:"
ls -l ./docs/build/
echo "Listing detailed contents of build directory:"
find ./docs/build/ -type f
- name: Check API documentation files
run: |
echo "Checking API documentation directory for components:"
ls -la ./docs/build/apis/components/
- name: Create .nojekyll file
run: |
Expand All @@ -55,13 +63,13 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages # Ensure this is the branch for GitHub Pages
publish_branch: gh-pages
publish_dir: ./docs/build/
user_name: github-actions[bot] # Automated commit user name
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com

- name: Debug Output
run: |
pwd # Print the current working directory
ls -l # List files in the current directory
ls -l ./docs/build/ # List files in the build directory
cat ./docs/source/conf.py # Show Sphinx config file for debugging

0 comments on commit ffeb73e

Please sign in to comment.