@@ -8,7 +8,7 @@ module.exports = {
88 createDeployPlugin ( options ) {
99 var DeployPlugin = DeployPluginBase . extend ( {
1010 name : options . name ,
11- requiredConfig : [ 'publicURL' , 'token' , 'userOrOrganization ' , 'repo ' , 'commitSha ' ] ,
11+ requiredConfig : [ 'publicURL' , 'token' , 'username ' , 'reporname ' , 'commit ' ] ,
1212
1313 willDeploy ( context ) {
1414 return this . notifyPullRequestOfDeployPending ( context ) ;
@@ -32,9 +32,9 @@ module.exports = {
3232
3333 return new Promise ( ( resolve , reject ) => {
3434 github . repos . createStatus ( {
35- owner : this . readConfig ( 'userOrOrganization ' ) ,
36- repo : this . readConfig ( 'repo ' ) ,
37- sha : this . readConfig ( 'commitSha ' ) ,
35+ owner : this . readConfig ( 'username ' ) ,
36+ repo : this . readConfig ( 'reporname ' ) ,
37+ sha : this . readConfig ( 'commit ' ) ,
3838 state : 'error' ,
3939 description : 'Build failed!' ,
4040 context : 'ember-cli-deploy' ,
@@ -58,9 +58,9 @@ module.exports = {
5858
5959 return new Promise ( ( resolve , reject ) => {
6060 github . repos . createStatus ( {
61- owner : this . readConfig ( 'userOrOrganization ' ) ,
62- repo : this . readConfig ( 'repo ' ) ,
63- sha : this . readConfig ( 'commitSha ' ) ,
61+ owner : this . readConfig ( 'username ' ) ,
62+ repo : this . readConfig ( 'reporname ' ) ,
63+ sha : this . readConfig ( 'commit ' ) ,
6464 state : 'pending' ,
6565 description : 'Building application!' ,
6666 context : 'ember-cli-deploy' ,
@@ -84,9 +84,9 @@ module.exports = {
8484
8585 return new Promise ( ( resolve , reject ) => {
8686 github . repos . createStatus ( {
87- owner : this . readConfig ( 'userOrOrganization ' ) ,
88- repo : this . readConfig ( 'repo ' ) ,
89- sha : this . readConfig ( 'commitSha ' ) ,
87+ owner : this . readConfig ( 'username ' ) ,
88+ repo : this . readConfig ( 'reporname ' ) ,
89+ sha : this . readConfig ( 'commit ' ) ,
9090 state : 'success' ,
9191 description : 'Complete build!' ,
9292 target_url : this . readConfig ( 'publicURL' ) ,
0 commit comments