ci: fix stripping of path
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Bruno BELANYI 2021-08-15 10:54:03 +02:00
parent 59417f5c29
commit b721eb4fc9
1 changed files with 1 additions and 1 deletions

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