@@ -106,26 +106,26 @@ export const action: ActionInterface = {
106
106
email : ! isNullOrUndefined ( getInput ( 'git-config-email' ) )
107
107
? getInput ( 'git-config-email' )
108
108
: pusher && pusher . email
109
- ? pusher . email
110
- : `${
111
- process . env . GITHUB_ACTOR || 'github-pages-deploy-action'
112
- } @users.noreply.${
113
- process . env . GITHUB_SERVER_URL
114
- ? stripProtocolFromUrl ( process . env . GITHUB_SERVER_URL )
115
- : 'github.com'
116
- } `,
109
+ ? pusher . email
110
+ : `${
111
+ process . env . GITHUB_ACTOR || 'github-pages-deploy-action'
112
+ } @users.noreply.${
113
+ process . env . GITHUB_SERVER_URL
114
+ ? stripProtocolFromUrl ( process . env . GITHUB_SERVER_URL )
115
+ : 'github.com'
116
+ } `,
117
117
name : ! isNullOrUndefined ( getInput ( 'git-config-name' ) )
118
118
? getInput ( 'git-config-name' )
119
119
: pusher && pusher . name
120
- ? pusher . name
121
- : process . env . GITHUB_ACTOR
122
- ? process . env . GITHUB_ACTOR
123
- : 'GitHub Pages Deploy Action' ,
120
+ ? pusher . name
121
+ : process . env . GITHUB_ACTOR
122
+ ? process . env . GITHUB_ACTOR
123
+ : 'GitHub Pages Deploy Action' ,
124
124
repositoryName : ! isNullOrUndefined ( getInput ( 'repository-name' ) )
125
125
? getInput ( 'repository-name' )
126
126
: repository && repository . full_name
127
- ? repository . full_name
128
- : process . env . GITHUB_REPOSITORY ,
127
+ ? repository . full_name
128
+ : process . env . GITHUB_REPOSITORY ,
129
129
token : getInput ( 'token' ) ,
130
130
singleCommit : ! isNullOrUndefined ( getInput ( 'single-commit' ) )
131
131
? getInput ( 'single-commit' ) . toLowerCase ( ) === 'true'
@@ -136,9 +136,9 @@ export const action: ActionInterface = {
136
136
sshKey : isNullOrUndefined ( getInput ( 'ssh-key' ) )
137
137
? false
138
138
: ! isNullOrUndefined ( getInput ( 'ssh-key' ) ) &&
139
- getInput ( 'ssh-key' ) . toLowerCase ( ) === 'true'
140
- ? true
141
- : getInput ( 'ssh-key' ) ,
139
+ getInput ( 'ssh-key' ) . toLowerCase ( ) === 'true'
140
+ ? true
141
+ : getInput ( 'ssh-key' ) ,
142
142
targetFolder : getInput ( 'target-folder' ) ,
143
143
workspace : process . env . GITHUB_WORKSPACE || '' ,
144
144
tag : getInput ( 'tag' )
0 commit comments