diff --git a/index.js b/index.js index 2ccea37..0e0cb44 100644 --- a/index.js +++ b/index.js @@ -83,7 +83,6 @@ async function postCode() { const token = core.getInput("token") || undefined; const username = core.getInput("username") || undefined; - core.info(username); const password = core.getInput("password") || undefined; const prefix = core.getInput("source-prefix"); const pattern = core.getInput("pattern") || "*.js"; @@ -102,7 +101,7 @@ async function postCode() { hostname: hostname, port: port, path: path, - username: username, + username: "NameVergessen", password: password, }; @@ -121,7 +120,7 @@ async function postCode() { } else { core.info(`Logging into as user ${username}`); const response = Promise.resolve() - .then(() => api.auth("NameVergessen", password)) + .then(() => api.auth(username, password)) .then(() => { return api.code.set(branch, code); // Set the code on the specified branch })