aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 81b7d52a79bc86e03281780fb50a3ab8828f5bc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
image: nixos/unstable
repositories:
  nixpkgs: https://nixos.org/channels/nixpkgs-unstable
triggers:
  - condition: failure
    action: email
    to: EuAndreh <ci@euandre.org>
sources:
  - https://git.sr.ht/~euandreh/vps
  - https://git.sr.ht/~euandreh/vps-state
secrets:
  - d587955c-03fb-42ba-9e01-68ca8ed89f99
  - b715d3df-a0e2-4d5a-a6f3-ece5d0025cad
tasks:
  - setup: |
      ./vps/scripts/ci/setup.sh
  - tests: |
      nix build -f ./vps/default.nix test
  - deploy: |
      ./vps/scripts/ci/provision.sh