bakare/.build.yml

24 lines
553 B
YAML
Raw Permalink Normal View History

2020-11-07 10:18:51 +00:00
image: nixos/latest
sources:
- git@git.sr.ht:~cyplo/bakare
secrets:
2021-05-15 20:10:26 +01:00
- 6c23a8c1-7a30-4a7e-b3b7-0171e898a7d3
2020-11-07 10:18:51 +00:00
- 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'