Browse Source

Use newer "upload" workflow for GH pages

pull/29/head
Ian Chamberlain 1 year ago
parent
commit
52d578ed03
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
  1. 11
      .github/workflows/docs.yml

11
.github/workflows/docs.yml

@ -21,8 +21,11 @@ jobs: @@ -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

Loading…
Cancel
Save