Try passing --store path
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
2ffb142634
commit
1f6e1dfb72
|
@ -1,6 +1,6 @@
|
||||||
local PROD = 'production';
|
local PROD = 'production';
|
||||||
local STAGE = 'staging';
|
local STAGE = 'staging';
|
||||||
local NIX = 'nix --extra-experimental-features nix-command --extra-experimental-features flakes';
|
local NIX = 'nix --store /tmp/cache --extra-experimental-features nix-command --extra-experimental-features flakes';
|
||||||
|
|
||||||
local Secrets(secrets) = {
|
local Secrets(secrets) = {
|
||||||
environment: {
|
environment: {
|
||||||
|
@ -23,7 +23,7 @@ local Step(env, name, cmds, extras={}) =
|
||||||
image: 'nixos/nix:latest',
|
image: 'nixos/nix:latest',
|
||||||
volumes: [
|
volumes: [
|
||||||
{ name: 'site', path: '/site' },
|
{ name: 'site', path: '/site' },
|
||||||
{ name: 'cache', path: '/nix/store' },
|
{ name: 'cache', path: '/tmp/cache' },
|
||||||
],
|
],
|
||||||
commands: cmds,
|
commands: cmds,
|
||||||
when: WhenProd(prod),
|
when: WhenProd(prod),
|
||||||
|
|
Loading…
Reference in New Issue