aboutsummaryrefslogtreecommitdiff
path: root/app/drone-ci
diff options
context:
space:
mode:
Diffstat (limited to 'app/drone-ci')
-rw-r--r--app/drone-ci/deploy/runner-docker.hcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/drone-ci/deploy/runner-docker.hcl b/app/drone-ci/deploy/runner-docker.hcl
index 1f823bf..d7c6ef4 100644
--- a/app/drone-ci/deploy/runner-docker.hcl
+++ b/app/drone-ci/deploy/runner-docker.hcl
@@ -15,7 +15,7 @@ job "drone-runner" {
image = "nixpkgs/nix:nixos-21.05"
command = "sh"
args = [
- "-c", "cp -rv /nix/{store,var} /mnt/"
+ "-c", "test -d /mnt/store || cp -rv /nix/{store,var} /mnt/"
]
volumes = [
"/var/lib/drone/nix:/mnt",