mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
Add workflow for generating & publishing gitbook
This commit is contained in:
parent
eacc74d24a
commit
f778e29b30
1 changed files with 29 additions and 0 deletions
29
.github/workflows/gitbook.yaml
vendored
Normal file
29
.github/workflows/gitbook.yaml
vendored
Normal 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
|
Loading…
Reference in a new issue