From 52d578ed0348a46ea9690de8b3d7d1fa7ed3efde Mon Sep 17 00:00:00 2001 From: Ian Chamberlain Date: Tue, 21 Nov 2023 12:20:26 -0500 Subject: [PATCH] Use newer "upload" workflow for GH pages --- .github/workflows/docs.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 63927a2..5b050c6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,8 +21,11 @@ jobs: - name: Build workspace docs run: cargo 3ds --verbose doc --verbose --no-deps --workspace - - name: Deploy crate docs - uses: peaceiris/actions-gh-pages@v3 + - name: Upload generated docs + uses: actions/upload-pages-artifact@v2 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./target/armv6k-nintendo-3ds/doc + path: ./target/armv6k-nintendo-3ds/doc + + - name: Deploy GitHub pages + uses: actions/deploy-pages@v2 +