diff --git a/lib/git.js b/lib/git.js index cc234bab..b8b1ed9f 100644 --- a/lib/git.js +++ b/lib/git.js @@ -84,6 +84,7 @@ function deploy() { console.log("Deployment branch does not exist. Creating...."); yield generateBranch(); } + console.log(yield util_1.execute(`ls`, constants_1.action.build)); yield util_1.execute(`git add .`, constants_1.action.build); yield util_1.execute(`git commit -m "Deploying to ${constants_1.action.branch} from ${constants_1.action.baseBranch} ${process.env.GITHUB_SHA}" --quiet`, constants_1.action.build); yield util_1.execute(`git push --force ${constants_1.repositoryPath} ${constants_1.action.baseBranch}:${constants_1.action.branch}`, constants_1.action.build); diff --git a/src/git.ts b/src/git.ts index d5911b02..d27f48bf 100644 --- a/src/git.ts +++ b/src/git.ts @@ -73,6 +73,8 @@ export async function deploy(): Promise { await generateBranch(); } + console.log(await execute(`ls`, action.build)) + await execute(`git add .`, action.build); await execute( `git commit -m "Deploying to ${action.branch} from ${action.baseBranch} ${process.env.GITHUB_SHA}" --quiet`,