Merge pull request #1105 from nuttycom/wallet/orchard_spends_and_outputs #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: librustzcash documentation | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- id: prepare | |
uses: ./.github/actions/prepare | |
- uses: dtolnay/rust-toolchain@nightly | |
id: toolchain | |
- run: rustup override set ${{steps.toolchain.outputs.name}} | |
- name: Build latest rustdocs | |
run: > | |
cargo doc | |
--no-deps | |
--workspace | |
${{ steps.prepare.outputs.feature-flags }} | |
env: | |
RUSTDOCFLAGS: -Z unstable-options --enable-index-page --cfg docsrs | |
- name: Move latest rustdocs into book | |
run: | | |
mkdir -p ./book/book/rustdoc | |
mv ./target/doc ./book/book/rustdoc/latest | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./book/book |