Skip to content

Commit

Permalink
Merge pull request #64 from sumocoders/fix-run-locally
Browse files Browse the repository at this point in the history
Actually fix the runLocally method this time
  • Loading branch information
Sander authored Feb 3, 2022
2 parents 83cfbcc + c5dab80 commit 070d4ec
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,13 @@ function () {
$nvmPath = trim(shell_exec('echo $HOME/.nvm/nvm.sh'));

if (file_exists($nvmPath)) {
run('. ' . $nvmPath . ' && nvm use && nvm exec npm run build');
runLocally('. ' . $nvmPath . ' && nvm use && nvm exec npm run build');
} else {
run('npm run build');
runLocally('npm run build');
}
}
)
->desc('Run the build script which will build our needed assets.')
->local();
->desc('Run the build script which will build our needed assets.');

// Upload tasks
task(
Expand Down

0 comments on commit 070d4ec

Please sign in to comment.