fix flake updater and don’t run pipeline for other branches
This commit is contained in:
parent
0b4b783e69
commit
b9366ae035
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- echo "substituters = https://cache.nixos.org/ https://f000.backblazeb2.com/file/cache-chir-rs/" >> /etc/nix/nix.conf
|
- echo "substituters = https://cache.nixos.org/ https://f000.backblazeb2.com/file/cache-chir-rs/" >> /etc/nix/nix.conf
|
||||||
- echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixcache:8KKuGz95Pk4UJ5W/Ni+pN+v+LDTkMMFV4yrGmAYgkDg= hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs=" >> /etc/nix/nix.conf
|
- echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixcache:8KKuGz95Pk4UJ5W/Ni+pN+v+LDTkMMFV4yrGmAYgkDg= hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs=" >> /etc/nix/nix.conf
|
||||||
|
- echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
||||||
- nix flake update
|
- nix flake update
|
||||||
- (cd minecraft && ./update.sh)
|
- (cd minecraft && ./update.sh)
|
||||||
- (cd mastodon && ./update.sh)
|
- (cd mastodon && ./update.sh)
|
||||||
|
@ -51,3 +52,6 @@ steps:
|
||||||
image: curlimages/curl:latest
|
image: curlimages/curl:latest
|
||||||
commands:
|
commands:
|
||||||
- curl --get --data-urlencode "jobsets=darkkirb:nix-packages" https://hydra.chir.rs/api/push
|
- curl --get --data-urlencode "jobsets=darkkirb:nix-packages" https://hydra.chir.rs/api/push
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
Reference in a new issue