diff --git a/.github/workflows/rustdoc.yml b/.github/workflows/rustdoc.yml index 501e1c5..6bededb 100644 --- a/.github/workflows/rustdoc.yml +++ b/.github/workflows/rustdoc.yml @@ -50,15 +50,8 @@ jobs: - name: Create index.html run: echo "" > ./target/doc/index.html - - name: Setup Pages - uses: actions/configure-pages@v2 - - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - # Upload entire repository - path: './target/doc' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 + uses: JamesIves/github-pages-deploy-action@v4.4.1 + with: + folder: ./target/doc + single-commit: true