diff options
-rw-r--r-- | .build.yml | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -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 |