bakare/.build.yml
2021-05-15 20:10:26 +01:00

23 lines
553 B
YAML

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'