Try caching again
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

main
mat ess 2022-12-22 00:26:49 -05:00
parent 2c48bb009d
commit d24ed003f9
1 changed files with 5 additions and 8 deletions

View File

@ -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: '/test' }, { name: 'cache', path: '/nix/store' },
], ],
commands: cmds, commands: cmds,
when: WhenProd(prod), when: WhenProd(prod),
@ -57,12 +57,9 @@ local DeployStep(env) =
], ],
steps: [ steps: [
Step(STAGE, 'bootstrap test', [ NixStep(STAGE),
'cp -r /nix/store/* /test', NixStep(PROD),
]), DeployStep(STAGE),
// NixStep(STAGE), DeployStep(PROD),
// NixStep(PROD),
// DeployStep(STAGE),
// DeployStep(PROD),
], ],
} }