mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-27 20:02:50 +00:00
Add more details when failing to copy assets upon publish
This commit is contained in:
parent
60bd8bc754
commit
54ffbddcd8
|
|
@ -126,7 +126,9 @@ const rsync = new Rsync()
|
|||
|
||||
rsync.execute((error, code, cmd) => {
|
||||
if (code !== 0) {
|
||||
shell.echo(`Error: Copying build assets failed`);
|
||||
shell.echo(
|
||||
`Error: Copying build assets failed with code ${code} and error '${error}'`
|
||||
);
|
||||
shell.exit(1);
|
||||
} else {
|
||||
shell.cd(path.join('build', `${PROJECT_NAME}-${DEPLOYMENT_BRANCH}`));
|
||||
|
|
|
|||
Loading…
Reference in New Issue