diff --git a/index.js b/index.js index 1f14433..dd49566 100644 --- a/index.js +++ b/index.js @@ -119,10 +119,12 @@ async function postCode() { core.info(JSON.stringify(response, null, 2)); } else { core.info(`Logging into as user ${username}`); + // await api.auth(username, password, login_arguments)); + // await api.auth(username, password, login_arguments)); const response = Promise.resolve() .then(() => api.auth(username, password, login_arguments)) .then(() => { - return api.code.set(branch, code); // Set the code on the specified branch + return api.code.set(branch, files_to_push); }) .then(() => { console.log("Code set successfully");