Debian Codegraph @

.github/workflows/rustdoc.yml

raw symbols SCIP
1 name: rustdoc
2 on:
3 push:
4 branches:
5 - main
6
7 jobs:
8 rustdoc:
9 if: github.repository == 'Techie-Pi/doxygen-rs'
10 runs-on: ubuntu-latest
11
12 steps:
13 - name: Checkout repository
14 uses: actions/checkout@v3
15
16 - name: Install Rust toolchain
17 uses: actions-rs/toolchain@v1
18 with:
19 toolchain: stable
20 profile: minimal
21 override: true
22 components: rustfmt, rust-src
23
24 - name: Build Documentation
25 run: cargo doc --all --no-deps
26
27 - name: Deploy Docs
28 uses: peaceiris/actions-gh-pages@364c31d33bb99327c77b3a5438a83a357a6729ad # v3.4.0
29 with:
30 github_token: ${{ secrets.GITHUB_TOKEN }}
31 publish_branch: gh-pages
32 publish_dir: ./target/doc
33 force_orphan: true