mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-15 06:25:05 +00:00
feat: add deployed output variable
This commit is contained in:
parent
1cffb780cf
commit
a6c76ad482
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -6570,9 +6570,11 @@ async function runDeployment() {
|
|||||||
"security": parse_1.optionalSecurity("security", core.getInput("security"))
|
"security": parse_1.optionalSecurity("security", core.getInput("security"))
|
||||||
};
|
};
|
||||||
await ftp_deploy_1.deploy(args);
|
await ftp_deploy_1.deploy(args);
|
||||||
|
core.setOutput('deployed', 'true');
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
core.setFailed(error);
|
core.setFailed(error);
|
||||||
|
core.setOutput('deployed', 'false');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
runDeployment();
|
runDeployment();
|
||||||
|
@ -22,9 +22,11 @@ async function runDeployment() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
await deploy(args);
|
await deploy(args);
|
||||||
|
core.setOutput('deployed', 'true');
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
core.setFailed(error);
|
core.setFailed(error);
|
||||||
|
core.setOutput('deployed', 'false');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user