~cyplo/bakare

bakare/.build.yml -rw-r--r-- 553 bytes
2c3fb1b1 — Cyryl Płotnicki Update cargo dependencies 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
image: nixos/latest
sources:
  - git@git.sr.ht:~cyplo/bakare

secrets:
  - 6c23a8c1-7a30-4a7e-b3b7-0171e898a7d3
  - 996295b0-681c-49e8-8774-1be2f3e0bfe9

environment:
  CI: "true"

tasks:
  - test: |
      cd bakare
      nix-shell --pure --run "./scripts/test.sh"
      nix-shell --pure --run "./scripts/package.sh"

  - github_push: |
      set +xv
      cd bakare
      GITHUB_TOKEN=`cat ~/.github_token`
      git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/bakare.git
      nix-shell --pure --run 'git push github --all --force'