build documentation/book in github actions
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
b1b88601ab
commit
e2827a1a79
2 changed files with 17 additions and 2 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
@ -154,6 +154,21 @@ jobs:
|
||||||
compression-level: 0
|
compression-level: 0
|
||||||
|
|
||||||
|
|
||||||
|
- name: Build documentation (book)
|
||||||
|
run: |
|
||||||
|
./bin/nix-build-and-cache .#book
|
||||||
|
cp -r --dereference result public
|
||||||
|
|
||||||
|
- name: Upload generated documentation (book) as artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: public
|
||||||
|
path: public
|
||||||
|
if-no-files-found: error
|
||||||
|
# don't compress again
|
||||||
|
compression-level: 0
|
||||||
|
|
||||||
|
|
||||||
- name: Extract metadata for Dockerhub
|
- name: Extract metadata for Dockerhub
|
||||||
env:
|
env:
|
||||||
REGISTRY: registry.hub.docker.com
|
REGISTRY: registry.hub.docker.com
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue