mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Force
This commit is contained in:
parent
b369adedad
commit
c72d739e1c
@ -74,7 +74,7 @@ export async function generateBranch(action: ActionInterface): Promise<void> {
|
|||||||
action.workspace
|
action.workspace
|
||||||
)
|
)
|
||||||
await execute(
|
await execute(
|
||||||
`git push ${action.repositoryPath} ${action.branch}`,
|
`git push --force ${action.repositoryPath} ${action.branch}`,
|
||||||
action.workspace
|
action.workspace
|
||||||
)
|
)
|
||||||
await execute(`git fetch`, action.workspace)
|
await execute(`git fetch`, action.workspace)
|
||||||
|
Loading…
Reference in New Issue
Block a user