aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 6794a17e883b6200ce71bfdad4415d004d6ae492 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
image: debian/stretch
packages:
  - curl
triggers:
  - condition: failure
    action: email
    to: EuAndreh <eu@euandre.org>
sources:
  - https://git.sr.ht/~euandreh/website
secrets:
  - 7159f943-811f-402d-bb6d-37cd764dc728
tasks:
  - setup: |
      curl https://nixos.org/nix/install | sh
      echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv
  - tests: |
      cd website/
      nix-build -A test
  - docs: |
      cd website/
      nix-build -A publishScript
      source env.sh
      ./result/bin/publish.sh