on master help sign in
Skip pushing to cachix when the required context is not provided
f27a6abmrkkrp
.circleci/config.yml+3−1
@@ -23,7 +23,9 @@ jobs:
23 - run:
23 - run:
24 name: Push Cachix
24 name: Push Cachix
25 command: |
25 command: |
26+ if [ -n "$CACHIX_SIGNING_KEY" ];
26− nix-store -qR --include-outputs $(nix-instantiate default.nix) | cachix push tweag
27+ then nix-store -qR --include-outputs $(nix-instantiate default.nix) | cachix push tweag;
28+ fi
27 - run:
29 - run:
28 name: Build the package (includes running the tests)
30 name: Build the package (includes running the tests)
29 command: nix-build
31 command: nix-build