diff options
author | EuAndreh <eu@euandre.org> | 2018-12-24 07:33:40 -0200 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2018-12-24 07:33:40 -0200 |
commit | 3ae13a308db8e1408d50975d6cd2c20dcaea2eb0 (patch) | |
tree | 247dd699d000406cf3e023452b4c0421ad26dcb2 /.build.yml | |
parent | Remove =all= target from Makefile. (diff) | |
download | euandre.org-3ae13a308db8e1408d50975d6cd2c20dcaea2eb0.tar.gz euandre.org-3ae13a308db8e1408d50975d6cd2c20dcaea2eb0.tar.xz |
Build and publish website using Nix; remove Makefile.
Diffstat (limited to '')
-rw-r--r-- | .build.yml | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 |