Skip to content

Commit

Permalink
fix artifact path
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer2368 committed Oct 17, 2024
1 parent 3afbe7f commit 6a4851d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,15 @@ jobs:
# sphinx-build -b html source/ build/
- name: check resulting files
run: |
ls ${GITHUB_WORKSPACE}/docs/
ls ${GITHUB_WORKSPACE}/docs/build
ls ${GITHUB_WORKSPACE}/docs/build/html
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: html-docs
path: docs/build/html/
path: docs/build/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html
publish_dir: docs/build

0 comments on commit 6a4851d

Please sign in to comment.