ci: fix stripping of path
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
59417f5c29
commit
b721eb4fc9
|
@ -33,7 +33,7 @@ local Pipeline(isDev) = {
|
||||||
],
|
],
|
||||||
environment: {
|
environment: {
|
||||||
SCP_SOURCE: "public/*",
|
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_RM: true, # Remove previous files from target directory
|
||||||
SCP_HOST: { from_secret: "ssh_host" },
|
SCP_HOST: { from_secret: "ssh_host" },
|
||||||
SCP_TARGET: { from_secret: "ssh_target" + if isDev then "_dev" else "" },
|
SCP_TARGET: { from_secret: "ssh_target" + if isDev then "_dev" else "" },
|
||||||
|
|
Loading…
Reference in a new issue