aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 479e6af9fc4a6de5e2eb82ed6c96865f1133bc2e (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 '. $HOME/.nix-profile/etc/profile.d/nix.sh' >> $HOME/.buildenv
  - publish: |
      cd website/
      nix-build -A publishScript
      source env.sh
      ./result/bin/publish.sh