diff --git a/src/git.ts b/src/git.ts index 16c1023c..5e03d05e 100644 --- a/src/git.ts +++ b/src/git.ts @@ -76,7 +76,7 @@ export async function deploy(): Promise { console.log('list', await execute(`ls`, action.build)) - await execute(`git checkout --orphan ${repositoryPath}`, action.build) + await execute(`git checkout --orphan ${action.branch}`, action.build) await execute(`git remote rm origin`, action.build) await execute(`git remote add origin ${repositoryPath}`, action.build)