mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
gitlab-ci: build HTML manual in a simpler way
This commit is contained in:
parent
25e5a900de
commit
6c6f934f0b
1 changed files with 2 additions and 4 deletions
|
@ -18,11 +18,9 @@ Run tests:
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- mkdir -p ~/.config/nixpkgs
|
- nix-build -A docs.html
|
||||||
- echo '{ manual.html.enable = true; }' > ~/.config/nixpkgs/home.nix
|
|
||||||
- nix-shell . -A install
|
|
||||||
- mkdir public
|
- mkdir public
|
||||||
- cp -r ~/.nix-profile/share/doc/home-manager/* public/
|
- cp -r ./result/share/doc/home-manager/* public/
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
Loading…
Reference in a new issue