You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 9, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: scripts/now.js
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,17 @@ function deploy(context, sha) {
113
113
constcomment=url=>
114
114
`### New Δ Now ${context} deployment complete\n- ✅ **Build Passed**\n- 🚀 **URL** : ${url}\n---\nNote: **This is autogenerated through travis-ci build**`;
115
115
if(alias){
116
-
spawn(nowCli,['alias',target_url,alias]);
116
+
constargs=[
117
+
'alias',
118
+
'--token',
119
+
nowToken,
120
+
'--team',
121
+
'coderplex',
122
+
'set',
123
+
target_url,
124
+
alias,
125
+
];
126
+
spawn(nowCli,args);
117
127
axios
118
128
.post(discordHook,{
119
129
content: comment(`${alias} and https://coderplex.org`),
0 commit comments