Skip to content

View Implementation (#2) #6

View Implementation (#2)

View Implementation (#2) #6

Workflow file for this run

name: Documentation
on:
push:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTFLAGS: "-D warnings"
RUSTUP_MAX_RETRIES: 10
RUST_BACKTRACE: 1
CXX: "g++"
jobs:
rustdoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: rustfmt, rust-src
- uses: actions-rs/cargo@v1
with:
command: doc
args: --all --no-deps
- run: sudo ./docs/build.sh
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./target/doc
force_orphan: true