From f778e29b30f0c4e948c185c6e0c868d6ad981490 Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Fri, 24 Mar 2023 12:59:21 +0100 Subject: [PATCH] Add workflow for generating & publishing gitbook --- .github/workflows/gitbook.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/gitbook.yaml diff --git a/.github/workflows/gitbook.yaml b/.github/workflows/gitbook.yaml new file mode 100644 index 0000000..d6752d6 --- /dev/null +++ b/.github/workflows/gitbook.yaml @@ -0,0 +1,29 @@ +name: Gitbook + +on: + push: + +jobs: + gitbook: + name: Gitbook + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + submodules: true + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + with: + components: rustfmt, clippy + + - name: Install project tools + uses: ok-nick/setup-aftman@v0.3.0 + + - name: Generate Gitbook + run: just generate-gitbook + + - name: Publish Gitbook + run: just publish-gitbook