~afontaine/home unlisted

home/.build.yml -rw-r--r-- 925 bytes
f8f45072Andrew Fontaine Use a URL to Connect to the DB 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
image: nixos/unstable
sources:
  - https://git.sr.ht/~afontaine/home
secrets:
  - 019f3781-925c-4de0-ab77-b4c2dccdb261
packages:
  - nixos.nixUnstable
  - nixos.cachix
  - nixos.jq
triggers:
  - action: email
    condition: always
    to: Andrew Fontaine <andrew@afontaine.ca>
tasks:
  - fetch-flake-deps: |
      cd home
      nix --experimental-features 'nix-command flakes' flake archive
  - fetch-mix-deps: |
      cd home
      nix --experimental-features 'nix-command flakes' build -L .#home-elixir-deps
  - build-fe: |
      cd home
      nix --experimental-features 'nix-command flakes' build -L .#home-web-fe
  - build: |
      cd home
      nix --experimental-features 'nix-command flakes' build -L
  - push: |
      cd home
      set +x
      export CACHIX_AUTH_TOKEN=$(< ~/.cachix)
      set -x
      nix --experimental-features 'nix-command flakes' build --json | jq -r '.[].outputs.out' | cachix push afontaine