Skip to content

Do not gobble events when it is not the one you are not interested in… #301

Do not gobble events when it is not the one you are not interested in…

Do not gobble events when it is not the one you are not interested in… #301

Workflow file for this run

name: "Docs"
on:
push:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libudev-dev
- name: Run docs
run: cargo +nightly doc --no-deps
env:
RUSTDOCFLAGS: --enable-index-page -Zunstable-options
- name: Deploy docs preview to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc