Skip to content

Commit

Permalink
Update sphinx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ghadialhajj committed Dec 7, 2023
1 parent 932165e commit 494b108
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ jobs:
- name: Build Documentation
run: |
cd docs
pwd
make html
ls -la build/html # Add this line to list the files in the build directory
deploy:
runs-on: ubuntu-latest
Expand All @@ -43,13 +41,11 @@ jobs:

- name: List Files in Publish Directory
run: |
pwd
ls -R
ls -la build/html # Add this line to list the files in the publish directory
ls -la docs/build/html # Add this line to list the files in the publish directory
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/html
publish_dir: build/html # Adjust this based on your Sphinx output directory
publish_branch: gh-pages

0 comments on commit 494b108

Please sign in to comment.