mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
8e05229e62
This will automatically build and publish the Home Manager manual on GitLab Pages.
14 lines
316 B
YAML
14 lines
316 B
YAML
image: nixos/nix:latest
|
|
|
|
pages:
|
|
script:
|
|
- mkdir -p ~/.config/nixpkgs
|
|
- echo '{ manual.html.enable = true; }' > ~/.config/nixpkgs/home.nix
|
|
- nix-shell . -A install
|
|
- mkdir public
|
|
- cp -r ~/.nix-profile/share/doc/home-manager/* public/
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
only:
|
|
- master
|