mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 15:21:24 +01:00
set up mdbook
This adds some new tools in CI for lint the book and also sets up automated deployment to GitLab Pages. Also adds a readme that suggests reading the book, since that's where all the information will be.
This commit is contained in:
parent
e318dfcb3d
commit
9a5e552ca0
10 changed files with 68 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
stages:
|
||||
- ci
|
||||
- artifacts
|
||||
- deploy
|
||||
|
||||
variables:
|
||||
# Makes some things print in color
|
||||
|
|
@ -48,3 +49,14 @@ artifacts:
|
|||
image: nixos/nix:2.18.2
|
||||
script:
|
||||
- ./bin/nix-build-and-cache packages
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
image: nixos/nix:2.18.2
|
||||
script:
|
||||
- direnv exec . mdbook build
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- main
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue