aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.build.yml32
1 files changed, 12 insertions, 20 deletions
diff --git a/.build.yml b/.build.yml
index 94211d8..083b397 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,4 +1,4 @@
-image: debian/strech
+image: debian/stretch
secrets:
- 7159f943-811f-402d-bb6d-37cd764dc728
triggers:
@@ -8,24 +8,16 @@ triggers:
sources:
- 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
-
-'
- test: ! '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