8000 feat: push to origin · cauu/github-pages-deploy-action@89a369f · GitHub
[go: up one dir, main page]

Skip to content

Commit 89a369f

Browse files
author
caiyufu
committed
feat: push to origin
1 parent a7f4000 commit 89a369f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export async function deployToAnotherRepo(): Promise<any> {
8787
`git commit --allow-empty -m "Initial ${action.branch} commit."`,
8888
temporaryDeploymentDirectory
8989
);
90-
await execute(`git push ${targetRepositoryPath} ${action.branch}`, temporaryDeploymentDirectory);
90+
await execute(`git push origin ${action.branch}`, temporaryDeploymentDirectory);
9191
} catch (error) {
9292
core.setFailed(
9393
`There was an error creating the deployment branch: ${error} on ${action.targetRepo} ❌`

0 commit comments

Comments
 (0)
0