aboutsummaryrefslogtreecommitdiff
path: root/app/drone-ci/deploy
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-07-04 11:57:06 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-04 11:57:06 +0200
commit698cdefadb8ee18e4c12511896380157aba32257 (patch)
treeccc9d356ff1136a792836cd638cae3fa3e21b997 /app/drone-ci/deploy
parentc81442dc01690e2c471b0de4dc8fac60c5c5befa (diff)
downloadnixcfg-698cdefadb8ee18e4c12511896380157aba32257.tar.gz
nixcfg-698cdefadb8ee18e4c12511896380157aba32257.zip
Update garage (repair task in comments)
Diffstat (limited to 'app/drone-ci/deploy')
-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",