Skip to content

Commit

Permalink
Update sphinx.yml
Browse files Browse the repository at this point in the history
discrepancy between inputs led to no doc build found (for monorepo)
  • Loading branch information
2bndy5 authored Aug 14, 2024
1 parent c5cd4d9 commit e3d904b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.project-root == '.' && github.event.repository.name || inputs.project-root }}_docs
path: ${{ github.workspace }}/${{ inputs.path-to-doc }}
path: ${{ github.workspace }}/${{ inputs.project-root }}/${{ inputs.path-to-doc }}

- name: Upload to github pages
# only publish doc changes from main branch
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./${{ inputs.path-to-doc }}
publish_dir: ./${{ inputs.project-root }}/${{ inputs.path-to-doc }}

0 comments on commit e3d904b

Please sign in to comment.