Skip to content

Merge pull request #41 from DefGuard/FreeBSD_service #41

Merge pull request #41 from DefGuard/FreeBSD_service

Merge pull request #41 from DefGuard/FreeBSD_service #41

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:latest
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