diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 4a92d6a..b5b57ee 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -35,7 +35,7 @@ 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 @@ -43,4 +43,4 @@ jobs: 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 }}