ci: fix stripping of path
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bruno BELANYI 2021-08-15 10:54:03 +02:00
parent 59417f5c29
commit b721eb4fc9

View file

@ -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 "" },