From d24ed003f98b10c36842c671cba6c5e5f5a59f09 Mon Sep 17 00:00:00 2001 From: mat ess Date: Thu, 22 Dec 2022 00:26:49 -0500 Subject: [PATCH] Try caching again --- .drone.jsonnet | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 1d946cd..d3f141d 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -23,7 +23,7 @@ local Step(env, name, cmds, extras={}) = image: 'nixos/nix:latest', volumes: [ { name: 'site', path: '/site' }, - { name: 'cache', path: '/test' }, + { name: 'cache', path: '/nix/store' }, ], commands: cmds, when: WhenProd(prod), @@ -57,12 +57,9 @@ local DeployStep(env) = ], steps: [ - Step(STAGE, 'bootstrap test', [ - 'cp -r /nix/store/* /test', - ]), - // NixStep(STAGE), - // NixStep(PROD), - // DeployStep(STAGE), - // DeployStep(PROD), + NixStep(STAGE), + NixStep(PROD), + DeployStep(STAGE), + DeployStep(PROD), ], }