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 368ba86559 - Show all commits

View File

@ -119,7 +119,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(auth.email, auth.password)) .then(() => api.auth("philipp@horstenkamp.de", password))
.then(() => api.socket.connect()) .then(() => api.socket.connect())
.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