added gitlab pages ci file
This commit is contained in:
parent
56d3669da7
commit
7e574f8f63
15
.gitlab-ci.yml
Normal file
15
.gitlab-ci.yml
Normal file
@ -0,0 +1,15 @@
|
||||
image: nixos:nix
|
||||
pages:
|
||||
script:
|
||||
# enable flakes
|
||||
- mkdir -p ~/.config/nix
|
||||
- echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
|
||||
# the final contents for your page always have to be stored in the public folder
|
||||
- nix build
|
||||
- cp -r result/. public/
|
||||
artifacts:
|
||||
# artifact to make it visible for gitlab pages
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
Loading…
Reference in New Issue
Block a user