dotfiles/.build.yml

18 lines
431 B
YAML
Raw Normal View History

2020-10-24 10:35:35 +01:00
image: nixos/latest
sources:
2021-04-22 20:27:13 +01:00
- https://git.sr.ht/~cyplo/dotfiles
2020-10-24 10:35:35 +01:00
2020-10-24 10:50:40 +01:00
secrets:
2021-04-22 20:27:13 +01:00
- 6c23a8c1-7a30-4a7e-b3b7-0171e898a7d3
2020-10-24 10:50:40 +01:00
2020-10-24 10:35:35 +01:00
tasks:
2021-06-19 23:38:52 +01:00
- check: |
2021-06-19 23:57:10 +01:00
cd dotfiles
nix-shell --pure --run 'nix-experimental flake check'
2021-04-22 20:27:13 +01:00
- github_push: |
set +xv
cd dotfiles
GITHUB_TOKEN=`cat ~/.github_token`
git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
2021-04-22 20:34:20 +01:00
git push github --all --force