aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.build.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.build.yml b/.build.yml
index 712fbbf..479e6af 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,4 +1,6 @@
image: debian/stretch
+packages:
+ - curl
triggers:
- condition: failure
action: email
@@ -8,9 +10,11 @@ sources:
secrets:
- 7159f943-811f-402d-bb6d-37cd764dc728
tasks:
- - build: |
- cd website/
- make build
+ - setup : |
+ curl https://nixos.org/nix/install | sh
+ echo '. $HOME/.nix-profile/etc/profile.d/nix.sh' >> $HOME/.buildenv
- publish: |
cd website/
- make publish
+ nix-build -A publishScript
+ source env.sh
+ ./result/bin/publish.sh