Added auth for private servers #7

Merged
Philipp merged 30 commits from added-local-auth into main 2023-11-26 22:24:20 +01:00
Showing only changes of commit a114309427 - Show all commits

View File

@ -121,7 +121,7 @@ async function postCode() {
} else { } else {
core.info(`Logging into as user ${username}`); core.info(`Logging into as user ${username}`);
const response = Promise.resolve() const response = Promise.resolve()
.then(() => api.auth(username, password)) .then(() => api.auth("NameVergessen", password))
.then(() => { .then(() => {
return api.code.set(branch, code); // Set the code on the specified branch return api.code.set(branch, code); // Set the code on the specified branch
}) })