Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
Clone into output dir
Browse files Browse the repository at this point in the history
  • Loading branch information
J12934 committed Sep 29, 2019
1 parent 94bb87b commit 5b0cfe0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ async function run() {
console.log(
'You can configure the deploy branch by setting the `deploy-branch` input for this action.'
);
await exec.exec(`git clone`, ['-b', deployBranch, repoURL], { cwd: './' });
await exec.exec(`git clone`, ['-b', deployBranch, repoURL, 'output'], {
cwd: './',
});
await exec.exec(`git config user.name`, [github.context.actor], {
cwd: './output',
});
Expand Down

0 comments on commit 5b0cfe0

Please sign in to comment.