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