Skip to content

Commit

Permalink
feat: working deploy script from mud basics (#218)
Browse files Browse the repository at this point in the history
Co-authored-by: alvarius <89248902+alvrs@users.noreply.github.com>
  • Loading branch information
cha0sg0d and alvrs authored Nov 3, 2022
1 parent 597514e commit fd1c61b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ export const deploy = async (options: Options) => {
task: async (_, task) => {
const time = Date.now();
task.output = "Building local client...";
const child = execa("yarn", ["workspace", "ri-client", "build"]);
const child = execa("yarn", ["workspace", "client", "build"]);
await child;
const duration = Date.now() - time;
task.output = "Client built in " + Math.round(duration / 1000) + "s";
Expand Down Expand Up @@ -417,7 +417,7 @@ export const deploy = async (options: Options) => {
task: async (ctx, task) => {
const child = execa(
"yarn",
["workspace", "ri-client", "run", "netlify", "deploy", "--prod", "--dir", "dist"],
["workspace", "client", "run", "netlify", "deploy", "--prod", "--dir", "dist"],
{
env: {
NETLIFY_AUTH_TOKEN: options.netlifyPersonalToken,
Expand Down

0 comments on commit fd1c61b

Please sign in to comment.