diff options
Diffstat (limited to '')
-rw-r--r-- | .build.yml | 32 |
1 files changed, 12 insertions, 20 deletions
@@ -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 |