This repository was archived by the owner on Feb 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,21 @@ jobs:
2020
2121 # Enable sandbox
2222 echo "build-use-sandbox = true" | sudo tee -a /etc/nix/nix.conf
23- echo "substituters = https://cache.nixos.org https://static-haskell-nix.cachix.org" \
23+ echo "substituters = https://cache.nixos.org https://static-haskell-nix.cachix.org https://deckgo.cachix.org " \
2424 | sudo tee -a /etc/nix/nix.conf
25- echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= static-haskell-nix.cachix.org-1:Q17HawmAwaM1/BfIxaEDKAxwTOyRVhPG5Ji9K3+FvUU=" \
25+ echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= static-haskell-nix.cachix.org-1:Q17HawmAwaM1/BfIxaEDKAxwTOyRVhPG5Ji9K3+FvUU= deckgo.cachix.org-1:Kx6Rm054j44GugSRodI2R8T7tAr2u63gKbcCQ9wgaUk= " \
2626 | sudo tee -a /etc/nix/nix.conf
2727
28+ - run :
29+ name : Install cachix
30+ command : |
31+ nix-env -iA cachix -f https://cachix.org/api/v1/install
2832
29-
30- # path: ~/deckdeckgo
33+ - run :
34+ name : Run cachix
35+ command : |
36+ cachix push deckgo --watch-store
37+ background : true
3138
3239 - run :
3340 name : Nix build
@@ -40,4 +47,5 @@ workflows:
4047 version : 2
4148 build :
4249 jobs :
43- - build
50+ - build :
51+ context : cachix
You can’t perform that action at this time.
0 commit comments