cdn/.gitlab-ci.yml

24 lines
339 B
YAML

---
default:
interruptible: true
tags:
- docker
- linux
stages:
- build
workflow:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
variables:
NIX_CONFIG: extra-experimental-features = nix-command flakes
deploy:site:
stage: build
image: nixos/nix:2.21.0
script:
- nix build .
- nix run .#publish