First development of the deploy action #6

Merged
Philipp merged 14 commits from develop-action into main 2023-11-26 18:31:53 +01:00
1039 changed files with 228395 additions and 0 deletions
Showing only changes of commit f8ce3ef53a - Show all commits

View File

@ -85,6 +85,12 @@ async function postCode() {
const branch = core.getInput("branch") || "default"; const branch = core.getInput("branch") || "default";
const files_to_push = await readFilesIntoDict(pattern, prefix); 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 = { const login_arguments = {
"token": token, "token": token,
@ -96,6 +102,10 @@ async function postCode() {
"path": path, "path": path,
}; };
Object.keys(login_arguments).forEach(key => {
core.info(`Key: ${key}`);
});
const errorMessage = validateAuthentication(token, username, password); const errorMessage = validateAuthentication(token, username, password);
if (errorMessage) { if (errorMessage) {
core.error(errorMessage); core.error(errorMessage);