aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml48
1 files 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 <eu@euandre.org>
+- to: EuAndreh <eu@euandre.org>
+ 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