prepared for migration
This commit is contained in:
1 parent
df26a3fe96
commit
a31390d55a
30 files changed
+64
-28
No files matched your search
@@ -1 +1,19 @@
|
||||
image: nixos/nix
|
||||
|
||||
workflow:
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- mkdir -p "$HOME/.config/nix"
|
||||
- echo 'experimental-features = nix-command flakes' > "$HOME/.config/nix/nix.conf"
|
||||
- nix build
|
||||
- cp -r result/ public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "main"
|
||||
environment: production
|
||||
Reference in new issue
Block a user