summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 639a128f8c4f42e5cb2246e02bcb7fca465485cd (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: echo "nothing to build, just deploying"

  artifacts:
    paths:
      - public