mirror of
https://gitlab.com/ahoneybun/ahoneybun-net.git
synced 2026-05-29 22:14:37 -06:00
add CI
This commit is contained in:
parent
be3dd2a6ec
commit
bb35416fd6
1 changed files with 20 additions and 0 deletions
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
image: nixos/nix:latest
|
||||
|
||||
stages:
|
||||
- build
|
||||
|
||||
variables:
|
||||
NIX_CONFIG: "experimental-features = nix-command flakes"
|
||||
|
||||
before_script:
|
||||
- git submodule update --init --recursive
|
||||
|
||||
build-zola-theme:
|
||||
stage: build
|
||||
script:
|
||||
- nix develop
|
||||
- zola build
|
||||
artifacts:
|
||||
paths:
|
||||
- public/
|
||||
expire_in: 1 week
|
||||
Loading…
Add table
Add a link
Reference in a new issue