-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
27 lines (23 loc) · 833 Bytes
/
.gitlab-ci.yml
File metadata and controls
27 lines (23 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
image: nixos/nix
workflow:
rules:
- if: '$CI_COMMIT_BRANCH'
ci:
tags:
- x86_64-linux
script:
- nix-shell -p git
- nix-shell
- cabal update
- cabal build debugger
- cabal test
pages:
script:
- nix-build -A site --arg ci true -o site-out --option trusted-public-keys "mpickering.cachix.org-1:COxPsDJqqrggZgvKG6JeH9baHPue8/pcpYkmcBPUbeg= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" --option substituters "https://hydra.iohk.io https://iohk.cachix.org https://cache.nixos.org/ https://mpickering.cachix.org"
- mkdir -p public
- cp -r site-out/* public/
artifacts:
paths:
- public
rules:
- if: '$CI_COMMIT_BRANCH == "master"'