docs: Deploy both stable & unstable docs to github pages

This commit is contained in:
traxys 2024-05-21 19:40:23 +02:00
parent 1c9f2a23a6
commit b0b010a0e9
3 changed files with 13 additions and 2 deletions

9
build-docs.sh Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env sh
set -ex
mkdir -p docs-build
nix build github:nix-community/nixvim#docs
cp -r result/share/doc docs-build
nix build github:nix-community/nixvim/nixos-23.11#docs
cp -r result/share/doc docs-build/stable