mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Add --no-recurse-submodules to git fetch (#299)
This commit is contained in:
parent
dfa62dba11
commit
93e7aa6ea7
@ -24,7 +24,7 @@ export async function init(action: ActionInterface): Promise<void | Error> {
|
||||
`git remote add origin ${action.repositoryPath}`,
|
||||
action.workspace
|
||||
)
|
||||
await execute(`git fetch`, action.workspace)
|
||||
await execute(`git fetch --no-recurse-submodules`, action.workspace)
|
||||
|
||||
info('Git configured… 🔧')
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user