2023-08-17 15:42:16 +00:00
|
|
|
image: nixos/nix
|
2023-08-17 15:28:01 +00:00
|
|
|
pages:
|
|
|
|
script:
|
|
|
|
# the final contents for your page always have to be stored in the public folder
|
2023-08-17 16:09:27 +00:00
|
|
|
- nix build --experimental-features 'nix-command flakes'
|
2023-08-17 15:28:01 +00:00
|
|
|
- cp -r result/. public/
|
|
|
|
artifacts:
|
|
|
|
# artifact to make it visible for gitlab pages
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|