mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2025-06-21 20:12:10 +10:00
BREAKING CHANGE: Update inputs for multi src and pattern args
This commit is contained in:
parent
bfa025c10c
commit
98ee38d52e
3 changed files with 9 additions and 7 deletions
|
@ -29,11 +29,10 @@ inputNames.forEach((input) => {
|
|||
let extendedVal = validVal;
|
||||
// eslint-disable-next-line default-case
|
||||
switch (inputName) {
|
||||
case 'source':
|
||||
extendedVal = `${githubWorkspace}/${validVal}`;
|
||||
case 'args':
|
||||
extendedVal = validVal.split(' ');
|
||||
break;
|
||||
case 'exclude':
|
||||
case 'args':
|
||||
case 'sshCmdArgs':
|
||||
extendedVal = validVal.split(',').map((item) => item.trim());
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue