From 18af5ea1757863e56038694914bb77d0019155e7 Mon Sep 17 00:00:00 2001 From: Eric Rescorla Date: Wed, 27 Nov 2024 11:55:26 -0800 Subject: [PATCH] Build docs --- .github/workflows/docs.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 00000000..42fe0b2d --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,24 @@ +name: Build Docs + +on: + push: + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Clean up + run: cargo clean --doc + - name: Build + run: cargo doc --no-deps + - name: Upload doc + uses: actions/upload-artifact@v4 + with: + path: | + target/doc +