diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7760d6ea..b8c44b8e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -56,14 +56,14 @@ jobs: - name: Diagnostic run: ls -lAFgh ${{ steps.deployment.outputs.artifact }} - # - name: Upload Docs ZIP file as artifact - # uses: actions/upload-artifact@v4 - # with: - # name: ${{ env.REPOSITORY_NAME }}-docs - # path: docs/build/html/ + - name: Upload Docs ZIP file as artifact + uses: actions/upload-artifact@v4 + with: + name: ${{ env.REPOSITORY_NAME }}-docs + path: ${{ steps.deployment.outputs.artifact }} - # - uses: peaceiris/actions-gh-pages@v3 - # if: ${{ github.event.inputs.deploy }} - # with: - # github_token: ${{ secrets.GITHUB_TOKEN }} - # publish_dir: ${{ steps.deployment.outputs.artifact }} + - uses: peaceiris/actions-gh-pages@v3 + if: ${{ github.event.inputs.deploy }} + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ${{ steps.deployment.outputs.artifact }}