Commit 7eb191b 1 parent 273c87e commit 7eb191b Copy full SHA for 7eb191b
File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ export async function init(action: ActionInterface): Promise<void | Error> {
21
21
info ( `Deploying using ${ action . tokenType } … 🔑` )
22
22
info ( 'Configuring git…' )
23
23
24
- // try {
25
- // await execute(
26
- // `git config --global --add safe.directory "${action.workspace}"`,
27
- // action.workspace,
28
- // action.silent
29
- // )
30
- // } catch {
31
- // info('Unable to set workspace as a safe directory…')
32
- // }
24
+ try {
25
+ await execute (
26
+ `git config --global --add safe.directory "${ action . workspace } "` ,
27
+ action . workspace ,
28
+ action . silent
29
+ )
30
+ } catch {
31
+ info ( 'Unable to set workspace as a safe directory…' )
32
+ }
33
33
34
34
await execute (
35
35
`git config user.name "${ action . name } "` ,
You can’t perform that action at this time.
0 commit comments