Add workflow for generating & publishing gitbook

This commit is contained in:
Filip Tibell 2023-03-24 12:59:21 +01:00
parent eacc74d24a
commit f778e29b30
No known key found for this signature in database

29
.github/workflows/gitbook.yaml vendored Normal file
View file

@ -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