First development of the deploy action #6
1
index.js
1
index.js
@ -115,6 +115,7 @@ async function postCode() {
|
|||||||
core.info(JSON.stringify(login_arguments, null, 2));
|
core.info(JSON.stringify(login_arguments, null, 2));
|
||||||
|
|
||||||
const api = new ScreepsAPI(login_arguments);
|
const api = new ScreepsAPI(login_arguments);
|
||||||
|
core.info(`Pushing to branch ${branch}`)
|
||||||
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));
|
||||||
core.info(JSON.stringify(response.json, null, 2));
|
core.info(JSON.stringify(response.json, null, 2));
|
||||||
|
Reference in New Issue
Block a user