.gitlab-ci.yml 296 Bytes
Newer Older
Yuki's avatar
Yuki committed
1 2
image: nixos/nix:latest

Yuki's avatar
Yuki committed
3 4
pages:
  stage: deploy
Yuki's avatar
Yuki committed
5 6 7 8
  before_script:
    - nix-env -iA nixpkgs.git
    - git clone https://git.yukiisbo.red/yuki/cock
    - nix-env -f cock/release.nix -i
Yuki's avatar
Yuki committed
9
  script:
Yuki's avatar
Yuki committed
10
    - cock --input public/index.cock --output public/index.html
Yuki's avatar
Yuki committed
11 12
  artifacts:
    paths:
Yuki's avatar
Yuki committed
13
      - public