Skip to content

refactor: Simplify map_or #17

refactor: Simplify map_or

refactor: Simplify map_or #17

Workflow file for this run

name: Generate and Deploy Docs
on:
push:
branches:
- master
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Rust toolchain
run: |
rustup update nightly
rustup default nightly
- name: Download Proto Files and Install Protoc
uses: ./.github/actions/protos
with:
cdn: ${{ secrets.PROTOS_CDN }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build docs
run: cargo doc --no-deps --verbose
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc
publish_branch: gh-pages
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com