Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit 42f336b

Browse files
author
Max Stoiber
committed
Fix deploying hyperion to alpha
1 parent 374b847 commit 42f336b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

scripts/deploy.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,16 @@ if (servers.indexOf('hyperion') > -1) {
7979
stdio: 'inherit',
8080
});
8181
console.log('Clearing cache');
82-
exec(now('alias -r rules.json spectrum.chat'), {
83-
stdio: 'inherit',
84-
});
82+
exec(
83+
now(
84+
`alias -r rules${!flags.prod ? '-alpha' : ''}.json ${
85+
!flags.prod ? 'alpha.' : ''
86+
}spectrum.chat`
87+
),
88+
{
89+
stdio: 'inherit',
90+
}
91+
);
8592
console.log('hyperion is live!\n');
8693
}
8794

0 commit comments

Comments
 (0)