aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.build.yml22
1 files changed, 11 insertions, 11 deletions
diff --git a/.build.yml b/.build.yml
index 083b397..6794a17 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,23 +1,23 @@
image: debian/stretch
-secrets:
-- 7159f943-811f-402d-bb6d-37cd764dc728
+packages:
+ - curl
triggers:
-- to: EuAndreh <eu@euandre.org>
- action: email
- condition: failure
+ - condition: failure
+ action: email
+ to: EuAndreh <eu@euandre.org>
sources:
-- https://git.sr.ht/~euandreh/website
+ - https://git.sr.ht/~euandreh/website
+secrets:
+ - 7159f943-811f-402d-bb6d-37cd764dc728
tasks:
- setup: |
curl https://nixos.org/nix/install | sh
- echo '. $HOME/.nix-profile/etc/profile.d/nix.sh' >> $HOME/.buildenv
- - test: |
+ echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv
+ - tests: |
cd website/
nix-build -A test
- - publish: |
+ - docs: |
cd website/
nix-build -A publishScript
source env.sh
./result/bin/publish.sh
-packages:
-- curl