Reworked everything a bit.
All checks were successful
Lint / pre-commit Linting (push) Successful in 24s
All checks were successful
Lint / pre-commit Linting (push) Successful in 24s
This commit is contained in:
parent
9be17fd1a0
commit
7f5df4a59e
4
index.js
4
index.js
@ -119,8 +119,8 @@ async function postCode() {
|
|||||||
api = new ScreepsAPI(login_arguments);
|
api = new ScreepsAPI(login_arguments);
|
||||||
} else {
|
} else {
|
||||||
core.info(`Logging into as usewr ${username}`);
|
core.info(`Logging into as usewr ${username}`);
|
||||||
api = new ScreepsAPI();
|
api = new ScreepsAPI(login_arguments);
|
||||||
api.auth(username, password, login_arguments);
|
api.auth(username, password);
|
||||||
}
|
}
|
||||||
const response = await api.code.set(branch, files_to_push);
|
const response = await api.code.set(branch, files_to_push);
|
||||||
core.info(JSON.stringify(response, null, 2));
|
core.info(JSON.stringify(response, null, 2));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user