serverless-alpha
Advanced tools
Comparing version 0.0.19 to 0.0.20
24
index.js
@@ -96,4 +96,4 @@ 'use strict' // eslint-disable-line strict | ||
'logout:logout': this.logout.bind(this), | ||
'after:deploy:initialize': this.injectArtifacts.bind(this), | ||
'after:deploy:deploy': this.publishService.bind(this) | ||
'after:deploy:initialize': this.publishService.bind(this) | ||
// 'after:deploy:deploy': this.publishService.bind(this) | ||
} | ||
@@ -540,8 +540,16 @@ } | ||
publishService(serviceDataWithReadme, clientWithAuth).catch(error => { | ||
log( | ||
"Couldn't publish this deploy information to the Serverless Platform due: \n", | ||
error | ||
) | ||
}) | ||
publishService(serviceDataWithReadme, clientWithAuth) | ||
.then(() => { | ||
const username = jwtDecode(authToken).nickname | ||
const serviceName = this.serverless.service.service | ||
log( | ||
`Your service is available at ${config.PLATFORM_FRONTEND_BASE_URL}services/${username}/${serviceName}` | ||
) | ||
}) | ||
.catch(error => { | ||
log( | ||
"Couldn't publish this deploy information to the Serverless Platform due: \n", | ||
error | ||
) | ||
}) | ||
}) | ||
@@ -548,0 +556,0 @@ }) |
{ | ||
"name": "serverless-alpha", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"author": "serverless.com", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60988
1373