mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update git.ts
This commit is contained in:
parent
781d9e3ced
commit
1835c8679c
@ -23,12 +23,6 @@ export async function init(action: ActionInterface): Promise<void | Error> {
|
||||
|
||||
await execute(`git init`, action.workspace, action.silent)
|
||||
|
||||
await execute(
|
||||
`git commit -m "Initial commit" --allow-empty`,
|
||||
action.workspace,
|
||||
action.silent
|
||||
)
|
||||
|
||||
await execute(
|
||||
`git config --global --add safe.directory "${action.workspace}"`,
|
||||
action.workspace,
|
||||
|
Loading…
Reference in New Issue
Block a user