fork/rust-analyzer
git clone https://git.julia.blue/fork/rust-analyzer
3eb8b28ce5
2022-06-20
1name : rustdoc 2on : 3push : 4branches : 5- master 6 7env : 8CARGO_INCREMENTAL : 0 9CARGO_NET_RETRY : 10 10RUSTFLAGS : "-D warnings -W unreachable-pub" 11RUSTUP_MAX_RETRIES : 10 12 13jobs : 14rustdoc : 15if : github.repository == 'rust-lang/rust-analyzer' 16runs-on : ubuntu-latest 17 18steps : 19- name : Checkout repository 20uses : actions/checkout@v3 21 22- name : Install Rust toolchain 23uses : actions-rs/toolchain@v1 24with : 25toolchain : stable 26profile : minimal 27override : true 28components : rustfmt, rust-src 29 30- name : Build Documentation 31run : cargo doc --all --no-deps 32 33- name : Deploy Docs 34uses : peaceiris/actions-gh-pages@364c31d33bb99327c77b3a5438a83a357a6729ad # v3.4.0 35with : 36github_token : ${{ secrets.GITHUB_TOKEN }} 37publish_branch : gh-pages 38publish_dir : ./target/doc 39force_orphan : true