From 0cbb084c4e0f8c397e78903f43b3156bdb09df44 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 29 Dec 2018 19:07:01 -0200 Subject: Test Dhall generated .build.yml file. --- .build.yml | 48 ++++++++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/.build.yml b/.build.yml index 48ed2a4..94211d8 100644 --- a/.build.yml +++ b/.build.yml @@ -1,23 +1,31 @@ -image: debian/stretch -packages: - - curl +image: debian/strech +secrets: +- 7159f943-811f-402d-bb6d-37cd764dc728 triggers: - - condition: failure - action: email - to: EuAndreh +- to: EuAndreh + action: email + condition: failure sources: - - https://git.sr.ht/~euandreh/website -secrets: - - 7159f943-811f-402d-bb6d-37cd764dc728 +- https://git.sr.ht/~euandreh/website tasks: - - setup : | - curl https://nixos.org/nix/install | sh - echo '. $HOME/.nix-profile/etc/profile.d/nix.sh' >> $HOME/.buildenv - - tests: | - cd website/ - nix-build -A test - - publish: | - cd website/ - nix-build -A publishScript - source env.sh - ./result/bin/publish.sh + setup: ! 'curl https://nixos.org/nix/install | sh + + echo ''. $HOME/.nix-profile/etc/profile.d/nix.sh'' >> $HOME/.buildenv + +' + test: ! 'cd website/ + + nix-build -A test + +' + publish: ! 'cd website/ + + nix-build -A publishScript + + source env.sh + + ./result/bin/publish.sh + +' +packages: +- curl -- cgit v1.2.3