From b721eb4fc982c4b2ac0c54176e1cbb1c5e551a1f Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 15 Aug 2021 10:54:03 +0200 Subject: [PATCH] ci: fix stripping of path --- .drone.jsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 6d4336c..a5059e2 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -33,7 +33,7 @@ local Pipeline(isDev) = { ], environment: { SCP_SOURCE: "public/*", - SCP_STRIP_COMPONENTS: 1, # Remove 'public/' suffix from file paths + TAR_STRIP_COMPONENTS: 1, # Remove 'public/' suffix from file paths SCP_RM: true, # Remove previous files from target directory SCP_HOST: { from_secret: "ssh_host" }, SCP_TARGET: { from_secret: "ssh_target" + if isDev then "_dev" else "" },