Update index.js

This commit is contained in:
SamKirkland 2020-08-26 01:44:44 -05:00
parent 6d051eb8e8
commit 9e3379feb0

12
dist/index.js vendored
View File

@ -94,7 +94,17 @@ async function runDeployment() {
const args = {
server: core.getInput("server", { required: true }),
username: core.getInput("username", { required: true }),
password: core.getInput("password", { required: true })
password: core.getInput("password", { required: true }),
protocol: core.getInput("protocol"),
port: core.getInput("port"),
"local-dir": core.getInput("local-dir"),
"server-dir": core.getInput("server-dir"),
"state-name": core.getInput("state-name"),
"dry-run": core.getInput("dry-run"),
"dangerous-clean-slate": core.getInput("dangerous-clean-slate"),
"include": core.getInput("include"),
"exclude": core.getInput("exclude"),
"log-level": core.getInput("log-level") // todo fix
};
try {
await ftp_deploy_1.deploy(args);