ci: Use cachix authtoken in CI (#1821)

This commit is contained in:
Remo Rechkemmer
2021-04-17 16:25:28 +02:00
committed by GitHub
parent 698bfe6e7b
commit 915d568257
2 changed files with 14 additions and 4 deletions
+6 -3
View File
@@ -39,13 +39,16 @@ let
docs = ''
Push all build artifacts to cachix.
Requires that the CACHIX_SIGNING_KEY for postgrest is set as an
environment variable.
Requires authentication with `cachix authtoken ...`.
'';
inRootDir = true;
}
''
nix-store -qR --include-outputs "$(nix-instantiate)" | cachix push postgrest
nix-instantiate \
| while read -r drv; do
nix-store -qR --include-outputs "$drv"
done \
| cachix push postgrest
'';
build =