Update index.js

This commit is contained in:
Sam Kirkland 2020-08-26 01:53:25 -05:00 committed by GitHub
parent 6d051eb8e8
commit b87fb43f2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
dist/index.js vendored
View File

@ -94,7 +94,17 @@ async function runDeployment() {
const args = { const args = {
server: core.getInput("server", { required: true }), server: core.getInput("server", { required: true }),
username: core.getInput("username", { 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 { try {
await ftp_deploy_1.deploy(args); await ftp_deploy_1.deploy(args);
@ -6902,4 +6912,4 @@ module.exports = require("fs");
/***/ }) /***/ })
/******/ }); /******/ });