Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c69ae1 commit b94be17Copy full SHA for b94be17
scripts/now.js
@@ -104,17 +104,17 @@ function deploy(context, sha) {
104
105
child.on('close', () => {
106
const target_url = alias || getUrl(stdout);
107
+ console.log(`PR: ${process.env.TRAVIS_PULL_REQUEST}`);
108
if (ghPR) {
- const comment = `
109
- Δ Now ${context} deployment complete
110
- Staging URL : ${target_url}
111
- Note: This is autogenerated through Travis build
112
- `;
+ const comment = `(Note: This is autogenerated through Travis build) New Staging URL : ${target_url}`;
+ console.log(comment);
113
ghPR.createComment(
114
{
115
body: comment,
116
},
117
- noop,
+ (err, res) => {
+ console.log(err, res);
+ },
118
);
119
} else {
120
console.log('No PR found');
0 commit comments