Test if anything runs with cache
continuous-integration/drone/push Build encountered an error Details

main
mat ess 2022-12-22 00:22:31 -05:00
parent 4d0be4e6f7
commit 9778b56610
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,7 @@ local Step(env, name, cmds, extras={}) =
image: 'nixos/nix:latest',
volumes: [
{ name: 'site', path: '/site' },
// { name: 'cache', path: '/nix/store' },
{ name: 'cache', path: '/nix/store' },
],
commands: cmds,
when: WhenProd(prod),
@ -33,6 +33,7 @@ local NixStep(env) =
local prod = env == PROD;
local output = if prod then '' else ' .#staging-site';
Step(env, 'nix build', [
'echo test',
NIX + ' build' + output,
'cp -r result/* /site/',
]);