Browse Source

Add initial GitLab CI configuration

This will automatically build and publish the Home Manager manual on
GitLab Pages.
keep-around/736e340bde8831e1ffb3e423056a801d0546a83c
Robert Helgesson 1 year ago
parent
commit
8e05229e62
No account linked to committer's email address
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      .gitlab-ci.yml

+ 14
- 0
.gitlab-ci.yml View File

@@ -0,0 +1,14 @@
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

Loading…
Cancel
Save