dotfiles/.build.yml

20 lines
533 B
YAML
Raw Normal View History

2020-10-24 10:35:35 +01:00
image: nixos/latest
sources:
2022-03-05 11:05:52 +00:00
- https://git.sr.ht/~cyplo/dotfiles
2020-10-24 10:35:35 +01:00
2020-10-24 10:50:40 +01:00
secrets:
2022-03-05 11:05:52 +00: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: |
2022-03-05 11:05:52 +00:00
cd dotfiles
2022-05-02 09:59:47 +01:00
nix-shell --pure --run 'nix --extra-experimental-features "flakes nix-command" flake info'
nix-shell --pure --run 'statix check'
2022-03-05 11:05:52 +00:00
2021-04-22 20:27:13 +01:00
- github_push: |
2022-03-05 11:05:52 +00:00
set +xv
cd dotfiles
GITHUB_TOKEN=`cat ~/.github_token`
git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
git push github --all --force