@@ -31,8 +31,8 @@ function run() {
3131 const keep_history = / t r u e / i. test ( core . getInput ( 'keep_history' ) ) ;
3232 const allow_empty_commit = / t r u e / i. test ( core . getInput ( 'allow_empty_commit' ) ) ;
3333 const build_dir = core . getInput ( 'build_dir' , { required : true } ) ;
34- const comitter_name = core . getInput ( 'comitter_name ' ) || process . env [ 'GITHUB_ACTOR' ] || 'github-actions' ;
35- const comitter_email = core . getInput ( 'comitter_email ' ) || `${ comitter_name } @users.noreply.github.com` ;
34+ const committer_name = core . getInput ( 'committer_name ' ) || process . env [ 'GITHUB_ACTOR' ] || 'github-actions' ;
35+ const committer_email = core . getInput ( 'committer_email ' ) || `${ committer_name } @users.noreply.github.com` ;
3636 const commit_message = core . getInput ( 'commit_message' ) || 'Deploy to GitHub pages' ;
3737 const fqdn = core . getInput ( 'fqdn' ) ;
3838 if ( ! fs . existsSync ( build_dir ) ) {
@@ -72,9 +72,9 @@ function run() {
7272 core . info ( `✍️ Writing ${ fqdn } domain name to ${ path . join ( build_dir , 'CNAME' ) } ` ) ;
7373 fs . writeFileSync ( path . join ( build_dir , 'CNAME' ) , fqdn . trim ( ) ) ;
7474 }
75- core . info ( `🔨 Configuring git committer to be ${ comitter_name } <${ comitter_email } >` ) ;
76- yield exec . exec ( 'git' , [ 'config' , 'user.name' , comitter_name ] ) ;
77- yield exec . exec ( 'git' , [ 'config' , 'user.email' , comitter_email ] ) ;
75+ core . info ( `🔨 Configuring git committer to be ${ committer_name } <${ committer_email } >` ) ;
76+ yield exec . exec ( 'git' , [ 'config' , 'user.name' , committer_name ] ) ;
77+ yield exec . exec ( 'git' , [ 'config' , 'user.email' , committer_email ] ) ;
7878 try {
7979 child_process . execSync ( 'git status --porcelain' ) . toString ( ) ;
8080 }
0 commit comments