summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..ebb1ee7
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,29 @@
1stages:
2 - build
3 - publish
4
5flake:
6 stage: build
7 image: nixpkgs/nix-flakes:nixos-22.05
8
9 script:
10 - nix build .#
11 - cp -Lr result out
12
13 artifacts:
14 paths:
15 - out/
16
17pages:
18 stage: publish
19
20 only:
21 - main
22
23 script:
24 - cp -r out/website public
25
26 artifacts:
27 paths:
28 - public
29