gitlab-ci: build HTML manual in a simpler way

This commit is contained in:
Robert Helgesson 2021-12-16 23:36:49 +01:00
parent 25e5a900de
commit 6c6f934f0b
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
1 changed files with 2 additions and 4 deletions

View File

@ -18,11 +18,9 @@ Run tests:
pages:
stage: deploy
script:
- mkdir -p ~/.config/nixpkgs
- echo '{ manual.html.enable = true; }' > ~/.config/nixpkgs/home.nix
- nix-shell . -A install
- nix-build -A docs.html
- mkdir public
- cp -r ~/.nix-profile/share/doc/home-manager/* public/
- cp -r ./result/share/doc/home-manager/* public/
artifacts:
paths:
- public