summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: b908c944b47de13be2ab2ad9d7f12194508ec6ca (plain)
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
28
stages:
  - build
  - publish

flake:
  stage: build
  image: nixpkgs/nix-flakes:nixos-22.05

  script:
    - nix build .#
    - cp -Lr result public

  artifacts:
    paths:
      - public

pages:
  stage: publish

  only:
    - main

  script: true

  artifacts:
    paths:
      - public