Skip to content

Refactor: Use wireguard as submodule (#63) #61

Refactor: Use wireguard as submodule (#63)

Refactor: Use wireguard as submodule (#63) #61

Workflow file for this run

name: rustdoc Github Pages
on:
push:
branches:
- main
env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTFLAGS: "-D warnings -W unreachable-pub"
RUSTUP_MAX_RETRIES: 10
jobs:
rustdoc:
runs-on: self-hosted
container:
image: rust:1.71
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Rust toolchain
run: rustup update --no-self-update stable
- name: Install protoc
run: apt-get update && apt-get -y install protobuf-compiler
- name: Build Docs
run: cargo doc --all --no-deps
- 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