Skip to content

chore: prepare to release tower-0.5.0, tower-layer-0.3.3, tower-servi… #219

chore: prepare to release tower-0.5.0, tower-layer-0.3.3, tower-servi…

chore: prepare to release tower-0.5.0, tower-layer-0.3.3, tower-servi… #219

Workflow file for this run

name: Deploy API Documentation
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install nightly Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
- name: Generate documentation
run: cargo doc --workspace --no-deps --all-features
env:
# Enable the RustDoc `#[doc(cfg(...))]` attribute.
RUSTDOCFLAGS: --cfg docsrs
- name: Deploy documentation
if: success()
uses: crazy-max/ghaction-github-pages@v1
with:
target_branch: gh-pages
build_dir: target/doc
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}