This commit is contained in:
parent
7b0ee47c08
commit
f8ce3ef53a
10
index.js
10
index.js
@ -85,6 +85,12 @@ async function postCode() {
|
||||
const branch = core.getInput("branch") || "default";
|
||||
|
||||
const files_to_push = await readFilesIntoDict(pattern, prefix);
|
||||
|
||||
Object.keys(files_to_push).forEach(key => {
|
||||
core.info(`Key: ${key}`);
|
||||
});
|
||||
|
||||
core.info(files_to_push);
|
||||
|
||||
const login_arguments = {
|
||||
"token": token,
|
||||
@ -96,6 +102,10 @@ async function postCode() {
|
||||
"path": path,
|
||||
};
|
||||
|
||||
Object.keys(login_arguments).forEach(key => {
|
||||
core.info(`Key: ${key}`);
|
||||
});
|
||||
|
||||
const errorMessage = validateAuthentication(token, username, password);
|
||||
if (errorMessage) {
|
||||
core.error(errorMessage);
|
||||
|
Loading…
x
Reference in New Issue
Block a user