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:
- name: Build workspace docs - name: Build workspace docs
run: cargo 3ds --verbose doc --verbose --no-deps --workspace run: cargo 3ds --verbose doc --verbose --no-deps --workspace
- name: Deploy crate docs - name: Upload generated docs
uses: peaceiris/actions-gh-pages@v3 uses: actions/upload-pages-artifact@v2
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} path: ./target/armv6k-nintendo-3ds/doc
publish_dir: ./target/armv6k-nintendo-3ds/doc
- name: Deploy GitHub pages
uses: actions/deploy-pages@v2

Loading…
Cancel
Save