on master help sign in
Skip pushing to cachix when the required context is not provided
commitf27a6abaf8e77e7fab8cdfb0f0ef36f22bedaa9d authormrkkrp <mark.karpov@tweag.io> dateWed 5 Jun 2019, 19:43 (7 years ago) parent777524b
1 file changed+3−1
.circleci/config.yml+3−1
.circleci/config.yml+3−1
@@ -23,7 +23,9 @@ jobs:
2323 - run:
2424 name: Push Cachix
2525 command: |
26− nix-store -qR --include-outputs $(nix-instantiate default.nix) | cachix push tweag
26+ if [ -n "$CACHIX_SIGNING_KEY" ];
27+ then nix-store -qR --include-outputs $(nix-instantiate default.nix) | cachix push tweag;
28+ fi
2729 - run:
2830 name: Build the package (includes running the tests)
2931 command: nix-build